opt.: back btn on scan page

Fixes #564
This commit is contained in:
lollipopkit🏳️‍⚧️
2024-08-31 19:33:57 +08:00
parent 7d0ea8a58b
commit b33d0bbc3e
5 changed files with 6 additions and 6 deletions

View File

@@ -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,

View File

@@ -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);

View File

@@ -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(),
),
),

View File

@@ -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"

View File

@@ -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: