mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-14 02:37:30 +00:00
clear old subtitle when setting new toolbar
This commit is contained in:
parent
29b317e7a8
commit
ec702eae2e
@ -652,6 +652,7 @@ class MainActivity : BaseLanguageActivity() {
|
||||
fun getToolbar() = synchronized(toolbarLock) { this.toolbar }
|
||||
|
||||
fun setToolbar(toolbar: Toolbar, owner: Fragment) = synchronized(toolbarLock) {
|
||||
supportActionBar?.subtitle = null
|
||||
toolbarOwner = owner
|
||||
binding.appBarLayout.visibility = View.GONE
|
||||
removeScrollingBehaviour()
|
||||
|
Loading…
Reference in New Issue
Block a user