forked from yaso_meth/mih-project
auto request fingerprint on first boot
This commit is contained in:
@@ -183,6 +183,13 @@ class _BiometricCheckState extends State<BiometricCheck> {
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
// TODO: implement initState
|
||||
super.initState();
|
||||
if (widget.firstBoot == true) authenticateUser();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (MzanziInnovationHub.of(context)!.theme.getPlatform() == "Web") {
|
||||
|
||||
Reference in New Issue
Block a user