diff --git a/lib/view/page/backup.dart b/lib/view/page/backup.dart index b03a80a8..ed0bb9dd 100644 --- a/lib/view/page/backup.dart +++ b/lib/view/page/backup.dart @@ -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, diff --git a/lib/view/page/private_key/edit.dart b/lib/view/page/private_key/edit.dart index a2918085..2e31022b 100644 --- a/lib/view/page/private_key/edit.dart +++ b/lib/view/page/private_key/edit.dart @@ -199,7 +199,7 @@ class _PrivateKeyEditPageState extends State { 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); diff --git a/lib/view/page/systemd.dart b/lib/view/page/systemd.dart index 4be4af07..bf2e4938 100644 --- a/lib/view/page/systemd.dart +++ b/lib/view/page/systemd.dart @@ -56,7 +56,7 @@ final class _SystemdPageState extends State { curve: Curves.fastEaseInToSlowEaseOut, height: isBusy ? 30 : 0, child: isBusy - ? SizedLoading.centerSmall.paddingOnly(bottom: 7) + ? SizedLoading.small.paddingOnly(bottom: 7) : const SizedBox.shrink(), ), ), diff --git a/pubspec.lock b/pubspec.lock index 3fdacd29..88852f0c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -470,8 +470,8 @@ packages: dependency: "direct main" description: path: "." - ref: "v1.0.147" - resolved-ref: "3c65bab2820ce96922612fbe1d81473e6acb0bd7" + ref: "v1.0.149" + resolved-ref: "291a7b445fcf116517cfbb6b3534f6b535e8276c" url: "https://github.com/lppcg/fl_lib" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index 238c9867..a8aec451 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -59,7 +59,7 @@ dependencies: fl_lib: git: url: https://github.com/lppcg/fl_lib - ref: v1.0.147 + ref: v1.0.149 dependency_overrides: # dartssh2: