Skip to content

Commit

Permalink
Updated plugins, incremented app version, ui tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Imran Remtulla committed Sep 3, 2022
1 parent f63da4b commit 52b9766
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
10 changes: 6 additions & 4 deletions lib/pages/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ class _AppPageState extends State<AppPage> {
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,
Expand Down Expand Up @@ -151,8 +151,10 @@ class _AppPageState extends State<AppPage> {
});
},
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'),
),
])),
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/apps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class _AppsPageState extends State<AppsPage> {
: appsProvider.apps.isEmpty
? Text(
'No Apps',
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.headlineMedium,
)
: RefreshIndicator(
onRefresh: () {
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class _SettingsPageState extends State<SettingsPage> {
],
),
const SizedBox(
height: 32,
height: 16,
),
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
Expand Down Expand Up @@ -249,7 +249,7 @@ class _SettingsPageState extends State<SettingsPage> {
icon: const Icon(Icons.code),
label: Text(
'Source',
style: Theme.of(context).textTheme.caption,
style: Theme.of(context).textTheme.bodySmall,
),
)
],
Expand Down
16 changes: 8 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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"
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 52b9766

Please sign in to comment.