mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 12:49:02 +00:00
Refresh challenges on initial load
This commit is contained in:
parent
fcab2a4394
commit
1b69f13bed
2 changed files with 6 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ android {
|
|||
buildConfigField "String", "TESTING_LEVEL", "\"production\""
|
||||
resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW"
|
||||
|
||||
versionCode 2803
|
||||
versionCode 2805
|
||||
versionName "3.2"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,11 @@ class ChallengesOverviewFragment : BaseMainFragment<FragmentViewpagerBinding>()
|
|||
setViewPagerAdapter()
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
getActiveFragment()?.retrieveChallengesPage()
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
challengeRepository.close()
|
||||
super.onDestroy()
|
||||
|
|
|
|||
Loading…
Reference in a new issue