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( trailing: ListenableBuilder(
listenable: webdavLoading, listenable: webdavLoading,
builder: (_, __) { builder: (_, __) {
if (webdavLoading.value) return SizedLoading.centerSmall; if (webdavLoading.value) return SizedLoading.small;
return Row( return Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,

View File

@@ -199,7 +199,7 @@ class _PrivateKeyEditPageState extends State<PrivateKeyEditPage> {
return; return;
} }
FocusScope.of(context).unfocus(); FocusScope.of(context).unfocus();
_loading.value = SizedLoading.centerMedium; _loading.value = SizedLoading.medium;
try { try {
final decrypted = await Computer.shared.start(decyptPem, [key, pwd]); final decrypted = await Computer.shared.start(decyptPem, [key, pwd]);
final pki = PrivateKeyInfo(id: name, key: decrypted); final pki = PrivateKeyInfo(id: name, key: decrypted);

View File

@@ -56,7 +56,7 @@ final class _SystemdPageState extends State<SystemdPage> {
curve: Curves.fastEaseInToSlowEaseOut, curve: Curves.fastEaseInToSlowEaseOut,
height: isBusy ? 30 : 0, height: isBusy ? 30 : 0,
child: isBusy child: isBusy
? SizedLoading.centerSmall.paddingOnly(bottom: 7) ? SizedLoading.small.paddingOnly(bottom: 7)
: const SizedBox.shrink(), : const SizedBox.shrink(),
), ),
), ),

View File

@@ -470,8 +470,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." path: "."
ref: "v1.0.147" ref: "v1.0.149"
resolved-ref: "3c65bab2820ce96922612fbe1d81473e6acb0bd7" resolved-ref: "291a7b445fcf116517cfbb6b3534f6b535e8276c"
url: "https://github.com/lppcg/fl_lib" url: "https://github.com/lppcg/fl_lib"
source: git source: git
version: "0.0.1" version: "0.0.1"

View File

@@ -59,7 +59,7 @@ dependencies:
fl_lib: fl_lib:
git: git:
url: https://github.com/lppcg/fl_lib url: https://github.com/lppcg/fl_lib
ref: v1.0.147 ref: v1.0.149
dependency_overrides: dependency_overrides:
# dartssh2: # dartssh2: