diff --git a/lib/app_sources/github.dart b/lib/app_sources/github.dart index 9c7cb73..15b9831 100644 --- a/lib/app_sources/github.dart +++ b/lib/app_sources/github.dart @@ -252,8 +252,10 @@ class GitHub extends AppSource { List> getReleaseAPKUrls(dynamic release) => (release['assets'] as List?) ?.map((e) { - return e['name'] != null && e['url'] != null - ? MapEntry(e['name'] as String, e['url'] as String) + return (e['name'] != null) && + ((e['url'] ?? e['browser_download_url']) != null) + ? MapEntry(e['name'] as String, + (e['url'] ?? e['browser_download_url']) as String) : const MapEntry('', ''); }) .where((element) => element.key.toLowerCase().endsWith('.apk')) diff --git a/lib/main.dart b/lib/main.dart index 8b21863..1b9fe28 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart'; // ignore: implementation_imports import 'package:easy_localization/src/localization.dart'; -const String currentVersion = '0.14.11'; +const String currentVersion = '0.14.12'; const String currentReleaseTag = 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index 4228be8..a980724 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -452,11 +452,13 @@ class AppsPageState extends State { child: Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(12), - color: Theme.of(context).primaryColor.withAlpha( - (settingsProvider.highlightTouchTargets && - showChangesFn != null) - ? 20 - : 0)), + color: settingsProvider.highlightTouchTargets && + showChangesFn != null + ? (Theme.of(context).brightness == Brightness.light + ? Theme.of(context).primaryColor + : Theme.of(context).primaryColorLight) + .withAlpha(20) + : null), padding: const EdgeInsets.fromLTRB(12, 0, 12, 0), child: Column( mainAxisAlignment: MainAxisAlignment.center, diff --git a/pubspec.yaml b/pubspec.yaml index d3c80c3..4f48012 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.14.11+203 # When changing this, update the tag in main() accordingly +version: 0.14.12+204 # When changing this, update the tag in main() accordingly environment: sdk: '>=3.0.0 <4.0.0'