mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-24 09:59:41 +02:00
Compare commits
2 Commits
v0.6.9-bet
...
v0.6.10-be
Author | SHA1 | Date | |
---|---|---|---|
|
c746e89052 | ||
|
ee758e8470 |
@@ -15,7 +15,7 @@ import 'package:dynamic_color/dynamic_color.dart';
|
|||||||
import 'package:device_info_plus/device_info_plus.dart';
|
import 'package:device_info_plus/device_info_plus.dart';
|
||||||
import 'package:android_alarm_manager_plus/android_alarm_manager_plus.dart';
|
import 'package:android_alarm_manager_plus/android_alarm_manager_plus.dart';
|
||||||
|
|
||||||
const String currentVersion = '0.6.9';
|
const String currentVersion = '0.6.10';
|
||||||
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
|
||||||
|
|
||||||
|
@@ -57,6 +57,8 @@ class _AddAppPageState extends State<AddAppPage> {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
return e is String
|
return e is String
|
||||||
? e
|
? e
|
||||||
|
: e is ObtainiumError
|
||||||
|
? e.toString()
|
||||||
: 'Error';
|
: 'Error';
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
@@ -27,7 +27,9 @@ class UpdateNotification extends ObtainiumNotification {
|
|||||||
'Updates Available',
|
'Updates Available',
|
||||||
'Notifies the user that updates are available for one or more Apps tracked by Obtainium',
|
'Notifies the user that updates are available for one or more Apps tracked by Obtainium',
|
||||||
Importance.max) {
|
Importance.max) {
|
||||||
message = updates.length == 1
|
message = updates.isEmpty
|
||||||
|
? "No new updates."
|
||||||
|
: updates.length == 1
|
||||||
? '${updates[0].name} has an update.'
|
? '${updates[0].name} has an update.'
|
||||||
: '${(updates.length == 2 ? '${updates[0].name} and ${updates[1].name}' : '${updates[0].name} and ${updates.length - 1} more apps')} have updates.';
|
: '${(updates.length == 2 ? '${updates[0].name} and ${updates[1].name}' : '${updates[0].name} and ${updates.length - 1} more apps')} have updates.';
|
||||||
}
|
}
|
||||||
|
@@ -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.6.9+53 # When changing this, update the tag in main() accordingly
|
version: 0.6.10+54 # 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'
|
||||||
|
Reference in New Issue
Block a user