Load settings when the home activity is created. (#336)

This commit is contained in:
davidoskky 2021-03-14 09:09:12 +01:00 committed by GitHub
parent a025efbf3b
commit c8faa8984f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,8 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
handleSwipeRefreshLayout() handleSwipeRefreshLayout()
handleSharedPrefs()
getElementsAccordingToTab() getElementsAccordingToTab()
} }
@ -336,8 +338,6 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
editor = settings.edit() editor = settings.edit()
handleSharedPrefs()
handleDrawerItems() handleDrawerItems()
handleThemeUpdate() handleThemeUpdate()