From e53d8cbc1847199506048c3221e548d88f44fed6 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Mon, 20 Jun 2022 23:08:43 +0530 Subject: [PATCH 1/2] Show theme toggle button for Android --- lib/app.dart | 2 +- lib/ui/settings_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app.dart b/lib/app.dart index f06522993..a2eebbc05 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -259,7 +259,7 @@ class _EnteAppState extends State with WidgetsBindingObserver { @override Widget build(BuildContext context) { - if (kDebugMode && Platform.isAndroid) { + if (Platform.isAndroid) { return AdaptiveTheme( light: lightThemeData, dark: darkThemeData, diff --git a/lib/ui/settings_page.dart b/lib/ui/settings_page.dart index 022f282ad..85c85ddd3 100644 --- a/lib/ui/settings_page.dart +++ b/lib/ui/settings_page.dart @@ -43,7 +43,7 @@ class SettingsPage extends StatelessWidget { .subtitle1 .copyWith(overflow: TextOverflow.ellipsis), ), - (kDebugMode && Platform.isAndroid) + (Platform.isAndroid) ? ThemeSwitchWidget() : const SizedBox.shrink(), ], From c8e34017fc9c67e2fad091b63e4a00cec393a97b Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Mon, 20 Jun 2022 23:09:22 +0530 Subject: [PATCH 2/2] bump version to 0.6.0+331 --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 1fe77416f..6fd031853 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: ente photos application # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.6.0+330 +version: 0.6.1+331 environment: sdk: ">=2.10.0 <3.0.0"