diff --git a/lib/app/features/auth/views/pages/get_started/get_started.dart b/lib/app/features/auth/views/pages/get_started/get_started.dart index dc460dd5a..2e922f339 100644 --- a/lib/app/features/auth/views/pages/get_started/get_started.dart +++ b/lib/app/features/auth/views/pages/get_started/get_started.dart @@ -1,7 +1,5 @@ // SPDX-License-Identifier: ice License 1.0 -import 'dart:math'; - import 'package:flutter/material.dart'; import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; @@ -54,9 +52,7 @@ class GetStartedPage extends ConsumerWidget { onPressed: () async { final isPasskeyAvailable = await ref.read(isPasskeyAvailableProvider.future); if (context.mounted) { - // TODO: remove once passwords flow is fully implemented and tested - final randomBool = Random().nextBool(); - if (isPasskeyAvailable && randomBool) { + if (isPasskeyAvailable) { await SignUpPasskeyRoute().push(context); } else { await SignUpPasswordRoute().push(context); diff --git a/scripts/generate_code.sh b/scripts/generate_code.sh index fd59cff7e..4da7a8cc9 100755 --- a/scripts/generate_code.sh +++ b/scripts/generate_code.sh @@ -4,4 +4,5 @@ # https://pub.dev/packages/freezed # https://pub.dev/packages/json_serializable # https://pub.dev/packages/widgetbook +dart pub run build_runner clean dart run build_runner build --delete-conflicting-outputs