mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-23 16:45:27 +01:00
@@ -156,7 +156,7 @@ class BackupPage extends StatelessWidget {
|
||||
trailing: ListenableBuilder(
|
||||
listenable: webdavLoading,
|
||||
builder: (_, __) {
|
||||
if (webdavLoading.value) return SizedLoading.centerSmall;
|
||||
if (webdavLoading.value) return SizedLoading.small;
|
||||
|
||||
return Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
@@ -199,7 +199,7 @@ class _PrivateKeyEditPageState extends State<PrivateKeyEditPage> {
|
||||
return;
|
||||
}
|
||||
FocusScope.of(context).unfocus();
|
||||
_loading.value = SizedLoading.centerMedium;
|
||||
_loading.value = SizedLoading.medium;
|
||||
try {
|
||||
final decrypted = await Computer.shared.start(decyptPem, [key, pwd]);
|
||||
final pki = PrivateKeyInfo(id: name, key: decrypted);
|
||||
|
||||
@@ -56,7 +56,7 @@ final class _SystemdPageState extends State<SystemdPage> {
|
||||
curve: Curves.fastEaseInToSlowEaseOut,
|
||||
height: isBusy ? 30 : 0,
|
||||
child: isBusy
|
||||
? SizedLoading.centerSmall.paddingOnly(bottom: 7)
|
||||
? SizedLoading.small.paddingOnly(bottom: 7)
|
||||
: const SizedBox.shrink(),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user