mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-29 22:51:02 +00:00
imported more settings
This commit is contained in:
@@ -719,7 +719,7 @@ Page(page:$page,perPage:50) {
|
||||
if (smaller) {
|
||||
val response = execute()?.airingSchedules ?: return null
|
||||
val idArr = mutableListOf<Int>()
|
||||
val listOnly = loadData("recently_list_only") ?: false
|
||||
val listOnly = PrefWrapper.getVal(PrefName.RecentlyListOnly, false)
|
||||
return response.mapNotNull { i ->
|
||||
i.media?.let {
|
||||
if (!idArr.contains(it.id))
|
||||
|
||||
@@ -101,7 +101,7 @@ class AnilistHomeViewModel : ViewModel() {
|
||||
Anilist.getSavedToken(context)
|
||||
MAL.getSavedToken(context)
|
||||
Discord.getSavedToken(context)
|
||||
if (loadData<Boolean>("check_update") != false) AppUpdater.check(context)
|
||||
if (PrefWrapper.getVal(PrefName.CheckUpdate, false)) AppUpdater.check(context)
|
||||
genres.postValue(Anilist.query.getGenresAndTags(context))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user