mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-25 03:43:46 +02:00
Added a log for prev. commit
This commit is contained in:
@@ -170,6 +170,7 @@
|
||||
"pleaseAllowInstallPerm": "Please allow Obtainium to install Apps",
|
||||
"trackOnly": "Track-Only",
|
||||
"errorWithHttpStatusCode": "Error {}",
|
||||
"versionCorrectionDisabled": "Version correction disabled (plugin doesn't seem to work)",
|
||||
"tooManyRequestsTryAgainInMinutes": {
|
||||
"one": "Too many requests (rate limited) - try again in {} minute",
|
||||
"other": "Too many requests (rate limited) - try again in {} minutes"
|
||||
|
||||
@@ -428,7 +428,12 @@ class AppsProvider with ChangeNotifier {
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user