[UI] Update libraries & NavLib to fix missing badges on most profiles.

This commit is contained in:
Kuba Szczodrzyński
2019-12-02 22:10:36 +01:00
parent 6a161b3c97
commit 8f8d613f6e
2 changed files with 9 additions and 6 deletions

View File

@ -804,7 +804,10 @@ class MainActivity : AppCompatActivity() {
}
} else {
setDrawerItems()
drawer.currentProfile = app.profile.id
// the drawer profile is updated automatically when the drawer item is clicked
// update it manually when switching profiles from other source
//if (drawer.currentProfile != app.profile.id)
drawer.currentProfile = app.profile.id
loadTarget(drawerSelection, arguments)
}
}