mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-26 10:21:03 +00:00
Update HomeFragment.kt
This commit is contained in:
committed by
GitHub
parent
18a41ff8c0
commit
d70d708a5e
@@ -48,6 +48,7 @@ import ani.dantotsu.settings.saving.PrefName
|
||||
import ani.dantotsu.snackString
|
||||
import ani.dantotsu.statusBarHeight
|
||||
import ani.dantotsu.util.Logger
|
||||
import eu.kanade.tachiyomi.util.launcher.ResumableShortcuts
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
@@ -496,6 +497,11 @@ class HomeFragment : Fragment() {
|
||||
containers[i].visibility = View.GONE
|
||||
}
|
||||
}
|
||||
ResumableShortcuts.updateShortcuts(
|
||||
context,
|
||||
model.getAnimeContinue().value,
|
||||
model.getMangaContinue().value
|
||||
)
|
||||
model.empty.postValue(empty)
|
||||
}
|
||||
live.postValue(false)
|
||||
@@ -517,4 +523,4 @@ class HomeFragment : Fragment() {
|
||||
}
|
||||
super.onResume()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user