Browse Source
clear old subtitle when setting new toolbar
renovate/androidx.fragment-fragment-ktx-1.x
Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
0 deletions
-
app/src/main/java/awais/instagrabber/activities/MainActivity.kt
|
@ -652,6 +652,7 @@ class MainActivity : BaseLanguageActivity() { |
|
|
fun getToolbar() = synchronized(toolbarLock) { this.toolbar } |
|
|
fun getToolbar() = synchronized(toolbarLock) { this.toolbar } |
|
|
|
|
|
|
|
|
fun setToolbar(toolbar: Toolbar, owner: Fragment) = synchronized(toolbarLock) { |
|
|
fun setToolbar(toolbar: Toolbar, owner: Fragment) = synchronized(toolbarLock) { |
|
|
|
|
|
supportActionBar?.subtitle = null |
|
|
toolbarOwner = owner |
|
|
toolbarOwner = owner |
|
|
binding.appBarLayout.visibility = View.GONE |
|
|
binding.appBarLayout.visibility = View.GONE |
|
|
removeScrollingBehaviour() |
|
|
removeScrollingBehaviour() |
|
|