From 4253203dcab78e01982b9c367765ce573a3f8162 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 27 Aug 2022 04:01:25 -0400 Subject: [PATCH] Tiny UI/UX tweaks --- lib/main.dart | 5 +++-- lib/pages/app.dart | 5 ++++- pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index dd355fc..86f6355 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -11,7 +11,7 @@ import 'package:workmanager/workmanager.dart'; import 'package:dynamic_color/dynamic_color.dart'; const String currentReleaseTag = - 'v0.1.3-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES + 'v0.1.4-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES @pragma('vm:entry-point') void bgTaskCallback() { @@ -123,7 +123,8 @@ class MyApp extends StatelessWidget { useMaterial3: true, colorScheme: settingsProvider.theme == ThemeSettings.light ? lightColorScheme - : darkColorScheme), + : darkColorScheme, + fontFamily: 'Metropolis'), home: const HomePage()); }); } diff --git a/lib/pages/app.dart b/lib/pages/app.dart index 0e28b87..5f88189 100644 --- a/lib/pages/app.dart +++ b/lib/pages/app.dart @@ -49,7 +49,10 @@ class _AppPageState extends State { ? () { appsProvider .downloadAndInstallLatestApp( - [app!.app.id], context); + [app!.app.id], + context).then((_) { + Navigator.of(context).pop(); + }); } : null, child: Text(app?.app.installedVersion == null diff --git a/pubspec.yaml b/pubspec.yaml index e45ff4b..f0ac49b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.1.3+4 # When changing this, update the tag in main() accordingly +version: 0.1.4+5 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.19.0-79.0.dev <3.0.0'