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
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
if (MzanziInnovationHub.of(context)!.theme.getPlatform() == "Web") {
|
if (MzanziInnovationHub.of(context)!.theme.getPlatform() == "Web") {
|
||||||
|
|||||||
Reference in New Issue
Block a user