mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 20:57:24 +01:00
Update tracking controller after logging in to Bangumi
This commit is contained in:
parent
8273a396c8
commit
1b3169e0d0
@ -88,9 +88,11 @@ class SettingsTrackingController : SettingsController(),
|
|||||||
|
|
||||||
override fun onActivityResumed(activity: Activity) {
|
override fun onActivityResumed(activity: Activity) {
|
||||||
super.onActivityResumed(activity)
|
super.onActivityResumed(activity)
|
||||||
// Manually refresh anilist holder
|
|
||||||
|
// Manually refresh OAuth trackers' holders
|
||||||
updatePreference(trackManager.aniList.id)
|
updatePreference(trackManager.aniList.id)
|
||||||
updatePreference(trackManager.shikimori.id)
|
updatePreference(trackManager.shikimori.id)
|
||||||
|
updatePreference(trackManager.bangumi.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun updatePreference(id: Int) {
|
private fun updatePreference(id: Int) {
|
||||||
|
Loading…
Reference in New Issue
Block a user