fix: onboarding page spacing
This commit is contained in:
parent
bd5c56349a
commit
b185a37435
1 changed files with 3 additions and 4 deletions
|
@ -167,7 +167,7 @@ class _OnboardingPageState extends State<OnboardingPage> {
|
|||
text: l10n.newUser,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
const SizedBox(height: 16),
|
||||
Container(
|
||||
height: 56,
|
||||
width: double.infinity,
|
||||
|
@ -219,11 +219,10 @@ class _OnboardingPageState extends State<OnboardingPage> {
|
|||
}
|
||||
|
||||
Future<void> _optForOfflineMode() async {
|
||||
final canContinue = Platform.isMacOS || Platform.isLinux
|
||||
bool canCheckBio = Platform.isMacOS || Platform.isLinux
|
||||
? true
|
||||
: await LocalAuthentication().canCheckBiometrics;
|
||||
|
||||
if (!canContinue) {
|
||||
if (!canCheckBio) {
|
||||
showToast(
|
||||
context,
|
||||
"Sorry, biometric authentication is not supported on this device.",
|
||||
|
|
Loading…
Reference in a new issue