mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-19 13:09:30 +02:00
Minor bug in F-Droid variant (#2373)
This commit is contained in:
@@ -1121,6 +1121,7 @@ class AppsProvider with ChangeNotifier {
|
||||
obtainiumId,
|
||||
strB: obtainiumTempId,
|
||||
);
|
||||
appsToInstall = moveStrToEnd(appsToInstall, '$obtainiumId.fdroid');
|
||||
|
||||
Future<void> installFn(
|
||||
String id,
|
||||
@@ -2511,7 +2512,10 @@ Future<void> bgUpdateCheck(String taskId, Map<String, dynamic>? params) async {
|
||||
}
|
||||
}
|
||||
if (toInstall.isNotEmpty) {
|
||||
var tempObtArr = toInstall.where((element) => element.key == obtainiumId);
|
||||
var tempObtArr = toInstall.where(
|
||||
(element) =>
|
||||
element.key == obtainiumId || element.key == '$obtainiumId.fdroid',
|
||||
);
|
||||
if (tempObtArr.isNotEmpty) {
|
||||
// Move obtainium to the end of the list as it must always install last
|
||||
var obt = tempObtArr.first;
|
||||
|
Reference in New Issue
Block a user