mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-11-02 22:33:28 +01:00
Added a log for prev. commit
This commit is contained in:
@@ -170,6 +170,7 @@
|
|||||||
"pleaseAllowInstallPerm": "Please allow Obtainium to install Apps",
|
"pleaseAllowInstallPerm": "Please allow Obtainium to install Apps",
|
||||||
"trackOnly": "Track-Only",
|
"trackOnly": "Track-Only",
|
||||||
"errorWithHttpStatusCode": "Error {}",
|
"errorWithHttpStatusCode": "Error {}",
|
||||||
|
"versionCorrectionDisabled": "Version correction disabled (plugin doesn't seem to work)",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "Too many requests (rate limited) - try again in {} minute",
|
"one": "Too many requests (rate limited) - try again in {} minute",
|
||||||
"other": "Too many requests (rate limited) - try again in {} minutes"
|
"other": "Too many requests (rate limited) - try again in {} minutes"
|
||||||
|
|||||||
@@ -428,7 +428,12 @@ class AppsProvider with ChangeNotifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<bool> doesInstalledAppsPluginWork() async {
|
Future<bool> doesInstalledAppsPluginWork() async {
|
||||||
return (await InstalledApps.getAppInfo(obtainiumId)).versionName != null;
|
bool res =
|
||||||
|
(await InstalledApps.getAppInfo(obtainiumId)).versionName != null;
|
||||||
|
if (!res) {
|
||||||
|
logs.add(tr('versionCorrectionDisabled'));
|
||||||
|
}
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the App says it is installed but installedInfo is null, set it to not installed
|
// If the App says it is installed but installedInfo is null, set it to not installed
|
||||||
|
|||||||
Reference in New Issue
Block a user