Refresh challenges on initial load

This commit is contained in:
Phillip Thelen 2021-02-08 10:37:46 +01:00
parent fcab2a4394
commit 1b69f13bed
2 changed files with 6 additions and 1 deletions

View file

@ -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"
}

View file

@ -47,6 +47,11 @@ class ChallengesOverviewFragment : BaseMainFragment<FragmentViewpagerBinding>()
setViewPagerAdapter()
}
override fun onResume() {
super.onResume()
getActiveFragment()?.retrieveChallengesPage()
}
override fun onDestroy() {
challengeRepository.close()
super.onDestroy()