update onboarding; add missing safe areas
This commit is contained in:
1 parent
79b68f137e
commit
25f4d27f0d
49 files changed
+3938
-2430
No files matched your search
@@ -59,21 +59,23 @@ class LockScreen extends HookConsumerWidget {
|
||||
});
|
||||
|
||||
return Scaffold(
|
||||
body: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(MdiIcons.lock, size: 64),
|
||||
const SizedBox(height: 16),
|
||||
const Text('Profile is locked'),
|
||||
const SizedBox(height: 16),
|
||||
FilledButton.icon(
|
||||
style: FilledButton.styleFrom(minimumSize: const Size(160, 40)),
|
||||
icon: const Icon(MdiIcons.fingerprint),
|
||||
label: Text(isAuthenticating.value ? 'Unlocking...' : 'Unlock'),
|
||||
onPressed: isAuthenticating.value ? null : authenticate,
|
||||
),
|
||||
],
|
||||
body: SafeArea(
|
||||
child: Center(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(MdiIcons.lock, size: 64),
|
||||
const SizedBox(height: 16),
|
||||
const Text('Profile is locked'),
|
||||
const SizedBox(height: 16),
|
||||
FilledButton.icon(
|
||||
style: FilledButton.styleFrom(minimumSize: const Size(160, 40)),
|
||||
icon: const Icon(MdiIcons.fingerprint),
|
||||
label: Text(isAuthenticating.value ? 'Unlocking...' : 'Unlock'),
|
||||
onPressed: isAuthenticating.value ? null : authenticate,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user