From e4a55abcb360a3fedc0a0b64d00e6d446967d160 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 10 Sep 2023 13:49:04 -0400 Subject: [PATCH 1/3] Fix Codeberg not finding APKs (#877) --- lib/app_sources/github.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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')) From 8f44338e762091b55f8bbc5a6d7a3c2a9bf6b875 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 10 Sep 2023 13:56:39 -0400 Subject: [PATCH 2/3] Make touch highlight visible in dark theme (#860) --- lib/pages/apps.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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, From b2af8448fd8a8d3e0cce0fd3f8974f7ede0ddb34 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 10 Sep 2023 14:02:26 -0400 Subject: [PATCH 3/3] Increment version --- lib/main.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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'