fix: uploaded file's path on windows (#484)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-07-23 19:59:58 +08:00
committed by GitHub
parent afda5fd4a4
commit 426e5689f8
7 changed files with 36 additions and 32 deletions

View File

@@ -360,9 +360,10 @@ ${GithubIds.participants.map((e) => '[$e](${e.url})').join(' ')}
void _goAuth() {
if (Stores.setting.useBioAuth.fetch()) {
if (BioAuthPage.route.isAlreadyIn) return;
BioAuthPage.route.go(context, args: BioAuthPageArgs(
onAuthSuccess: () => _shouldAuth = false,
));
BioAuthPage.route.go(
context,
args: BioAuthPageArgs(onAuthSuccess: () => _shouldAuth = false),
);
}
}