Merge pull request #146 from yaso-meth/BUG--Set-up-Auth
change auth check on init
This commit is contained in:
commit
3728d5b475
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue