fix: MangaExtensionRepos where AnimeExtensionRepos should be

This commit is contained in:
rebelonion 2024-04-05 21:43:32 -05:00
parent 58d5b5bc41
commit 771cdcc163

View file

@ -63,10 +63,10 @@ internal class ExtensionGithubApi {
val extensions: ArrayList<AnimeExtension.Available> = arrayListOf()
val repos =
PrefManager.getVal<Set<String>>(PrefName.MangaExtensionRepos).toMutableList()
PrefManager.getVal<Set<String>>(PrefName.AnimeExtensionRepos).toMutableList()
if (repos.isEmpty()) {
repos.add("https://raw.githubusercontent.com/aniyomiorg/aniyomi-extensions/repo")
PrefManager.setVal(PrefName.MangaExtensionRepos, repos.toSet())
PrefManager.setVal(PrefName.AnimeExtensionRepos, repos.toSet())
}
repos.forEach {