mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-20 05:19:28 +02:00
Added farsroid.com as a source (#2435)
This commit is contained in:
@@ -16,6 +16,7 @@ import 'package:obtainium/app_sources/aptoide.dart';
|
||||
import 'package:obtainium/app_sources/codeberg.dart';
|
||||
import 'package:obtainium/app_sources/coolapk.dart';
|
||||
import 'package:obtainium/app_sources/directAPKLink.dart';
|
||||
import 'package:obtainium/app_sources/farsroid.dart';
|
||||
import 'package:obtainium/app_sources/fdroid.dart';
|
||||
import 'package:obtainium/app_sources/fdroidrepo.dart';
|
||||
import 'package:obtainium/app_sources/github.dart';
|
||||
@@ -63,11 +64,13 @@ class APKDetails {
|
||||
});
|
||||
}
|
||||
|
||||
List<List<String>> stringMapListTo2DList(List<MapEntry<String, String>> mapList) =>
|
||||
mapList.map((e) => [e.key, e.value]).toList();
|
||||
List<List<String>> stringMapListTo2DList(
|
||||
List<MapEntry<String, String>> mapList,
|
||||
) => mapList.map((e) => [e.key, e.value]).toList();
|
||||
|
||||
List<MapEntry<String, String>> assumed2DlistToStringMapList(List<dynamic> arr) =>
|
||||
arr.map((e) => MapEntry(e[0] as String, e[1] as String)).toList();
|
||||
List<MapEntry<String, String>> assumed2DlistToStringMapList(
|
||||
List<dynamic> arr,
|
||||
) => arr.map((e) => MapEntry(e[0] as String, e[1] as String)).toList();
|
||||
|
||||
// App JSON schema has changed multiple times over the many versions of Obtainium
|
||||
// This function takes an App JSON and modifies it if needed to conform to the latest (current) version
|
||||
@@ -1074,6 +1077,7 @@ class SourceProvider {
|
||||
Jenkins(),
|
||||
APKMirror(),
|
||||
RuStore(),
|
||||
Farsroid(),
|
||||
TelegramApp(),
|
||||
NeutronCode(),
|
||||
DirectAPKLink(),
|
||||
|
Reference in New Issue
Block a user