Merge pull request #146 from yaso-meth/BUG--Set-up-Auth

change auth check on init
This commit is contained in:
yaso-meth
2025-04-25 11:04:49 +02:00
committed by GitHub

View File

@@ -261,7 +261,7 @@ class _BiometricCheckState extends State<BiometricCheck> {
void initState() {
// TODO: implement initState
super.initState();
// if (widget.firstBoot == true) authenticateUser();
if (widget.firstBoot == true) authenticateUser();
}
@override
@@ -280,7 +280,6 @@ class _BiometricCheckState extends State<BiometricCheck> {
personalSelected: widget.personalSelected,
);
} else {
authenticateUser();
return getBiomentricAuthScreen();
}
}