Add display of handle when using multiple accounts (#2697)
- Shown on the main toolbar (subtitle) - Shown just above the "replying to" message (even if not replying)
This commit is contained in:
parent
ffe42c992f
commit
c908ebb3f1
4 changed files with 28 additions and 1 deletions
|
|
@ -834,6 +834,9 @@ class MainActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidInje
|
|||
header.clear()
|
||||
header.profiles = profiles
|
||||
header.setActiveProfile(accountManager.activeAccount!!.id)
|
||||
binding.mainToolbar.subtitle = if (accountManager.accounts.size > 1) {
|
||||
accountManager.activeAccount!!.fullName
|
||||
} else null
|
||||
}
|
||||
|
||||
override fun getActionButton() = binding.composeButton
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue