new: bio_auth -> local_auth (#776)

Fixes #722
This commit is contained in:
lollipopkit🏳️‍⚧️
2025-06-05 09:07:28 +08:00
committed by GitHub
parent 4701757857
commit 79c515c903
8 changed files with 24 additions and 98 deletions

View File

@@ -215,10 +215,10 @@ class _HomePageState extends State<HomePage>
void _goAuth() {
if (Stores.setting.useBioAuth.fetch()) {
if (BioAuthPage.route.alreadyIn) return;
BioAuthPage.route.go(
if (LocalAuthPage.route.alreadyIn) return;
LocalAuthPage.route.go(
context,
args: BioAuthPageArgs(onAuthSuccess: () => _shouldAuth = false),
args: LocalAuthPageArgs(onAuthSuccess: () => _shouldAuth = false),
);
}
}