From 16cb235a00b38f72b391515c1cd70e33a83d8073 Mon Sep 17 00:00:00 2001 From: nguyenthe0107 Date: Sat, 1 Mar 2025 13:47:26 +0700 Subject: [PATCH 1/2] 1924-Sign-button-in-on-the-first-screen --- .../pages/onboarding/device_selection.dart | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/app/lib/pages/onboarding/device_selection.dart b/app/lib/pages/onboarding/device_selection.dart index 30d8c43a84..952080d385 100644 --- a/app/lib/pages/onboarding/device_selection.dart +++ b/app/lib/pages/onboarding/device_selection.dart @@ -1,9 +1,12 @@ import 'package:flutter/material.dart'; import 'package:friend_private/gen/assets.gen.dart'; +import 'package:friend_private/pages/onboarding/wrapper.dart'; import 'package:friend_private/pages/persona/twitter/social_profile.dart'; +import 'package:friend_private/utils/other/temp.dart'; import 'package:posthog_flutter/posthog_flutter.dart'; + class DeviceSelectionPage extends StatefulWidget { const DeviceSelectionPage({super.key}); @@ -107,6 +110,22 @@ class _DeviceSelectionPageState extends State with SingleTi ), ), ), + const SizedBox( + height: 24, + ), + TextButton( + onPressed: () async { + routeToPage(context, const OnboardingWrapper()); + }, + child: const Text( + 'Sign in', + style: TextStyle( + color: Colors.white, + fontWeight: FontWeight.bold, + fontSize: 18, + ), + ), + ), ], ), const Spacer(flex: 3), From a9add4d60247950b8a6b28d833d2a8d492a54b0b Mon Sep 17 00:00:00 2001 From: nguyenthe0107 Date: Sat, 1 Mar 2025 15:15:02 +0700 Subject: [PATCH 2/2] fix-comment --- app/lib/pages/onboarding/device_selection.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/pages/onboarding/device_selection.dart b/app/lib/pages/onboarding/device_selection.dart index 952080d385..105449b320 100644 --- a/app/lib/pages/onboarding/device_selection.dart +++ b/app/lib/pages/onboarding/device_selection.dart @@ -121,8 +121,8 @@ class _DeviceSelectionPageState extends State with SingleTi 'Sign in', style: TextStyle( color: Colors.white, - fontWeight: FontWeight.bold, - fontSize: 18, + fontWeight: FontWeight.w500, + fontSize: 16, ), ), ),