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