Compare commits

..

5 Commits

Author SHA1 Message Date
Imran Remtulla
c4ba1e9dbc Increment version 2022-12-08 19:01:00 -05:00
Imran Remtulla
49862ad2a6 Reduced download notification importance 2022-12-08 18:57:53 -05:00
Imran Remtulla
1b892f4e0d Avoid overflow for long version strings on Apps page 2022-12-08 18:54:40 -05:00
Imran Remtulla
a4555f07f9 Fixed typo 2022-12-08 18:33:36 -05:00
Imran Remtulla
73fbdd84f0 Updated version 2022-12-07 20:46:12 -05:00
5 changed files with 44 additions and 43 deletions

View File

@@ -206,11 +206,11 @@
"other": "Cleared {n} logs (before = {before}, after = {after})" "other": "Cleared {n} logs (before = {before}, after = {after})"
}, },
"xAndNMoreUpdatesAvailable": { "xAndNMoreUpdatesAvailable": {
"one": "{} and {} more app have updated.", "one": "{} and 1 more app have updates.",
"other": "{} and {} more apps have updates." "other": "{} and {} more apps have updates."
}, },
"xAndNMoreUpdatesInstalled": { "xAndNMoreUpdatesInstalled": {
"one": "{} and {} more app were updated.", "one": "{} and 1 more app were updated.",
"other": "{} and {} more apps were updated." "other": "{} and {} more apps were updated."
} }
} }

View File

@@ -21,7 +21,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart';
// ignore: implementation_imports // ignore: implementation_imports
import 'package:easy_localization/src/localization.dart'; import 'package:easy_localization/src/localization.dart';
const String currentVersion = '0.8.6'; const String currentVersion = '0.8.7';
const String currentReleaseTag = const String currentReleaseTag =
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES

View File

@@ -253,7 +253,9 @@ class AppsPageState extends State<AppsPage> {
fontWeight: sortedApps[index].app.pinned fontWeight: sortedApps[index].app.pinned
? FontWeight.bold ? FontWeight.bold
: FontWeight.normal)), : FontWeight.normal)),
trailing: sortedApps[index].downloadProgress != null trailing: SingleChildScrollView(
reverse: true,
child: sortedApps[index].downloadProgress != null
? Text(tr('percentProgress', args: [ ? Text(tr('percentProgress', args: [
sortedApps[index] sortedApps[index]
.downloadProgress .downloadProgress
@@ -265,14 +267,13 @@ class AppsPageState extends State<AppsPage> {
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: [ children: [
SingleChildScrollView( SizedBox(
child: SizedBox( width: 100,
width: 80,
child: Text( child: Text(
'${sortedApps[index].app.installedVersion ?? tr('notInstalled')}${sortedApps[index].app.trackOnly == true ? ' ${tr('estimateInBrackets')}' : ''}', '${sortedApps[index].app.installedVersion ?? tr('notInstalled')}${sortedApps[index].app.trackOnly == true ? ' ${tr('estimateInBrackets')}' : ''}',
overflow: TextOverflow.fade, overflow: TextOverflow.fade,
textAlign: TextAlign.end, textAlign: TextAlign.end,
))), )),
sortedApps[index].app.installedVersion != null && sortedApps[index].app.installedVersion != null &&
sortedApps[index].app.installedVersion != sortedApps[index].app.installedVersion !=
sortedApps[index].app.latestVersion sortedApps[index].app.latestVersion
@@ -294,7 +295,7 @@ class AppsPageState extends State<AppsPage> {
)) ))
: const SizedBox(), : const SizedBox(),
], ],
)), ))),
onTap: () { onTap: () {
if (selectedApps.isNotEmpty) { if (selectedApps.isNotEmpty) {
toggleAppSelected(sortedApps[index].app); toggleAppSelected(sortedApps[index].app);

View File

@@ -84,7 +84,7 @@ class DownloadNotification extends ObtainiumNotification {
'APP_DOWNLOADING', 'APP_DOWNLOADING',
'Downloading App', 'Downloading App',
'Notifies the user of the progress in downloading an App', 'Notifies the user of the progress in downloading an App',
Importance.defaultImportance, Importance.low,
onlyAlertOnce: true) { onlyAlertOnce: true) {
message = tr('percentProgress', args: [progPercent.toString()]); message = tr('percentProgress', args: [progPercent.toString()]);
} }

View File

@@ -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 # 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 # 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. # of the product and file versions while build-number is used as the build suffix.
version: 0.8.5+69 # When changing this, update the tag in main() accordingly version: 0.8.7+70 # When changing this, update the tag in main() accordingly
environment: environment:
sdk: '>=2.18.2 <3.0.0' sdk: '>=2.18.2 <3.0.0'