From 7b06cf19bffc0788044dc347eeacd41ff4f49bc7 Mon Sep 17 00:00:00 2001 From: Arjav Patel Date: Wed, 25 Dec 2024 22:09:12 +0530 Subject: [PATCH 1/2] Fixed The Issue --- lib/app/modules/home/views/nav_drawer.dart | 2 +- lib/app/modules/onboarding/views/onboarding_page.dart | 3 +++ lib/app/modules/onboarding/views/onboarding_view.dart | 2 +- lib/app/modules/profile/views/selectprofile.dart | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/app/modules/home/views/nav_drawer.dart b/lib/app/modules/home/views/nav_drawer.dart index 67946e2e..0a3d36dc 100644 --- a/lib/app/modules/home/views/nav_drawer.dart +++ b/lib/app/modules/home/views/nav_drawer.dart @@ -63,7 +63,7 @@ class NavDrawer extends StatelessWidget { onTap: (bool newMode) async { AppSettings.isDarkMode = newMode; await SelectedTheme.saveMode(AppSettings.isDarkMode); - Get.back(); + // Get.back(); homeController.initLanguageAndDarkMode(); }, child: Icon( diff --git a/lib/app/modules/onboarding/views/onboarding_page.dart b/lib/app/modules/onboarding/views/onboarding_page.dart index 57b1cbef..cdc1cda6 100644 --- a/lib/app/modules/onboarding/views/onboarding_page.dart +++ b/lib/app/modules/onboarding/views/onboarding_page.dart @@ -16,6 +16,9 @@ class OnboardingPage extends StatelessWidget { padding: const EdgeInsets.all(35.0), child: Column( children: [ + SizedBox( + height: (Get.height >= 840) ? 120 : 90, + ), SvgPicture.asset( onboardingModel.image, height: Get.width / 100 * 30, diff --git a/lib/app/modules/onboarding/views/onboarding_view.dart b/lib/app/modules/onboarding/views/onboarding_view.dart index 5c0d2d36..99478cb1 100644 --- a/lib/app/modules/onboarding/views/onboarding_view.dart +++ b/lib/app/modules/onboarding/views/onboarding_view.dart @@ -20,7 +20,7 @@ class OnboardingView extends GetView { child: Column( children: [ Expanded( - flex: 3, + flex: 5, child: PageView.builder( physics: const BouncingScrollPhysics(), controller: pageController, diff --git a/lib/app/modules/profile/views/selectprofile.dart b/lib/app/modules/profile/views/selectprofile.dart index 37f1abb2..4b192cc8 100644 --- a/lib/app/modules/profile/views/selectprofile.dart +++ b/lib/app/modules/profile/views/selectprofile.dart @@ -84,6 +84,7 @@ class SelectProfile extends StatelessWidget { 'All Profiles:', overflow: TextOverflow.fade, style: GoogleFonts.poppins( + fontWeight: TaskWarriorFonts.bold, fontSize: TaskWarriorFonts.fontSizeMedium, color: AppSettings.isDarkMode @@ -178,6 +179,7 @@ class SelectProfileListTile extends StatelessWidget { color: AppSettings.isDarkMode ? TaskWarriorColors.ksecondaryTextColor : TaskWarriorColors.kLightSecondaryTextColor, + fontSize: TaskWarriorFonts.fontSizeMedium ), ), ), @@ -191,6 +193,7 @@ class SelectProfileListTile extends StatelessWidget { color: AppSettings.isDarkMode ? TaskWarriorColors.ksecondaryTextColor : TaskWarriorColors.kLightSecondaryTextColor, + fontSize: TaskWarriorFonts.fontSizeSmall ), ), ), From 1cb649137600d38a273b00fccc225b65418fb2be Mon Sep 17 00:00:00 2001 From: Arjav Patel Date: Thu, 26 Dec 2024 14:30:04 +0530 Subject: [PATCH 2/2] Fixed The Issue --- test/models/chart_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/chart_test.dart b/test/models/chart_test.dart index 3a23162b..b6cda046 100644 --- a/test/models/chart_test.dart +++ b/test/models/chart_test.dart @@ -1,4 +1,4 @@ -import 'package:flutter_test/flutter_test.dart'; + import 'package:flutter_test/flutter_test.dart'; import 'package:taskwarrior/app/models/chart.dart'; void main() {