Update tracking controller after logging in to Bangumi

This commit is contained in:
Jay 2020-01-16 23:26:20 -08:00 committed by arkon
parent 8273a396c8
commit 1b3169e0d0

View File

@ -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) {