From 52b97662c68550d5357e4bfa9f8a7cad09028d1f Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 3 Sep 2022 17:31:19 -0400 Subject: [PATCH] Updated plugins, incremented app version, ui tweaks --- lib/main.dart | 2 +- lib/pages/app.dart | 10 ++++++---- lib/pages/apps.dart | 2 +- lib/pages/settings.dart | 4 ++-- pubspec.lock | 16 ++++++++-------- pubspec.yaml | 10 +++++----- 6 files changed, 23 insertions(+), 21 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index ce6eb3b..cce1ff8 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,7 +12,7 @@ import 'package:dynamic_color/dynamic_color.dart'; import 'package:device_info_plus/device_info_plus.dart'; const String currentReleaseTag = - 'v0.1.7-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES + 'v0.1.8-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES @pragma('vm:entry-point') void bgTaskCallback() { diff --git a/lib/pages/app.dart b/lib/pages/app.dart index 78772cb..c788ff4 100644 --- a/lib/pages/app.dart +++ b/lib/pages/app.dart @@ -40,12 +40,12 @@ class _AppPageState extends State { Text( app?.app.name ?? 'App', textAlign: TextAlign.center, - style: Theme.of(context).textTheme.headline1, + style: Theme.of(context).textTheme.displayLarge, ), Text( 'By ${app?.app.author ?? 'Unknown'}', textAlign: TextAlign.center, - style: Theme.of(context).textTheme.headline4, + style: Theme.of(context).textTheme.headlineMedium, ), const SizedBox( height: 32, @@ -151,8 +151,10 @@ class _AppPageState extends State { }); }, style: TextButton.styleFrom( - foregroundColor: Theme.of(context).errorColor, - surfaceTintColor: Theme.of(context).errorColor), + foregroundColor: + Theme.of(context).colorScheme.error, + surfaceTintColor: + Theme.of(context).colorScheme.error), child: const Text('Remove'), ), ])), diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index d93a47b..a0bdc3b 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -42,7 +42,7 @@ class _AppsPageState extends State { : appsProvider.apps.isEmpty ? Text( 'No Apps', - style: Theme.of(context).textTheme.headline4, + style: Theme.of(context).textTheme.headlineMedium, ) : RefreshIndicator( onRefresh: () { diff --git a/lib/pages/settings.dart b/lib/pages/settings.dart index c0bd204..976b033 100644 --- a/lib/pages/settings.dart +++ b/lib/pages/settings.dart @@ -124,7 +124,7 @@ class _SettingsPageState extends State { ], ), const SizedBox( - height: 32, + height: 16, ), Row( mainAxisAlignment: MainAxisAlignment.spaceAround, @@ -249,7 +249,7 @@ class _SettingsPageState extends State { icon: const Icon(Icons.code), label: Text( 'Source', - style: Theme.of(context).textTheme.caption, + style: Theme.of(context).textTheme.bodySmall, ), ) ], diff --git a/pubspec.lock b/pubspec.lock index fd6e1e0..2fca840 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -140,7 +140,7 @@ packages: name: dynamic_color url: "https://pub.dartlang.org" source: hosted - version: "1.5.3" + version: "1.5.4" fake_async: dependency: transitive description: @@ -194,7 +194,7 @@ packages: name: flutter_local_notifications url: "https://pub.dartlang.org" source: hosted - version: "9.8.0+1" + version: "9.9.1" flutter_local_notifications_linux: dependency: transitive description: @@ -477,7 +477,7 @@ packages: name: shared_preferences_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.0" shared_preferences_web: dependency: transitive description: @@ -538,7 +538,7 @@ packages: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.12" + version: "0.4.13" timezone: dependency: transitive description: @@ -615,7 +615,7 @@ packages: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" webview_flutter: dependency: "direct main" description: @@ -629,14 +629,14 @@ packages: name: webview_flutter_android url: "https://pub.dartlang.org" source: hosted - version: "2.9.5" + version: "2.10.0" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.9.2" + version: "1.9.3" webview_flutter_wkwebview: dependency: transitive description: @@ -681,4 +681,4 @@ packages: version: "3.1.1" sdks: dart: ">=2.19.0-79.0.dev <3.0.0" - flutter: ">=3.1.0-0.0.pre.1036" + flutter: ">=3.3.0" diff --git a/pubspec.yaml b/pubspec.yaml index 5f5969f..833f4f5 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.7+8 # When changing this, update the tag in main() accordingly +version: 0.1.8+9 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.19.0-79.0.dev <3.0.0' @@ -35,15 +35,15 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. - cupertino_icons: ^1.0.2 + cupertino_icons: ^1.0.5 path_provider: ^2.0.11 flutter_fgbg: ^0.2.0 # Try removing reliance on this - flutter_local_notifications: ^9.8.0+1 + flutter_local_notifications: ^9.9.1 provider: ^6.0.3 http: ^0.13.5 webview_flutter: ^3.0.4 workmanager: ^0.5.0 - dynamic_color: ^1.5.3 + dynamic_color: ^1.5.4 install_plugin_v2: ^1.0.0 # Try replacing this html: ^0.15.0 shared_preferences: ^2.0.15 @@ -63,7 +63,7 @@ dev_dependencies: # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. - flutter_lints: ^2.0.0 + flutter_lints: ^2.0.1 flutter_icons: android: true