diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-11-05 15:58:05 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2022-11-05 15:58:05 +0100 |
| commit | 0b0168ac91c9b7f7896cb89436aa1dcf90605cf3 (patch) | |
| tree | e6c25a6c618c6132c86d7133ae82554784213257 /lib/pages/developer_page.dart | |
| parent | d3bf422afa275f8264a85c48c639576839f2f320 (diff) | |
fix shift delete bug
Diffstat (limited to 'lib/pages/developer_page.dart')
| -rw-r--r-- | lib/pages/developer_page.dart | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pages/developer_page.dart b/lib/pages/developer_page.dart index 13d3c5d..b724f8c 100644 --- a/lib/pages/developer_page.dart +++ b/lib/pages/developer_page.dart @@ -22,8 +22,8 @@ class _DeveloperPageState extends State<DeveloperPage> { initState() { super.initState(); - auth.canCheckBiometrics.then((bio) => { - auth + localAuthService.canCheckBiometrics.then((bio) => { + localAuthService .isDeviceSupported() .then((supported) => {canUseLocalAuth = bio && supported}) }); @@ -60,7 +60,7 @@ class _DeveloperPageState extends State<DeveloperPage> { TextButton( onPressed: () { if (canUseLocalAuth) { - auth + localAuthService .authenticate( localizedReason: 'Weet je zeker dat je alle locale bestanden wilt verwijderen?') |
