mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 05:10:15 +02:00
Workaround for version detection error in BG
This commit is contained in:
@@ -428,8 +428,12 @@ class AppsProvider with ChangeNotifier {
|
||||
}
|
||||
|
||||
Future<bool> doesInstalledAppsPluginWork() async {
|
||||
bool res =
|
||||
(await InstalledApps.getAppInfo(obtainiumId)).versionName != null;
|
||||
bool res = false;
|
||||
try {
|
||||
res = (await InstalledApps.getAppInfo(obtainiumId)).versionName != null;
|
||||
} catch (e) {
|
||||
//
|
||||
}
|
||||
if (!res) {
|
||||
logs.add(tr('versionCorrectionDisabled'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user