fix currently logged in profiles not being visible in main drawer when offline (#2516)

This commit is contained in:
Konrad Pozniak 2022-05-12 18:21:33 +02:00 committed by GitHub
parent 4159826f26
commit b8e3b6b884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -621,6 +621,8 @@ class MainActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidInje
binding.mainToolbar.setOnClickListener {
(adapter.getFragment(activeTabLayout.selectedTabPosition) as? ReselectableFragment)?.onReselect()
}
updateProfiles()
}
private fun handleProfileClick(profile: IProfile, current: Boolean): Boolean {