This commit is contained in:
parent
6cb7db37a5
commit
6b93d02952
@ -578,6 +578,9 @@ class MainActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidInje
|
|||||||
|
|
||||||
val activeTabPosition = if (selectNotificationTab) notificationTabPosition else 0
|
val activeTabPosition = if (selectNotificationTab) notificationTabPosition else 0
|
||||||
mainToolbar.title = tabs[activeTabPosition].title(this@MainActivity)
|
mainToolbar.title = tabs[activeTabPosition].title(this@MainActivity)
|
||||||
|
mainToolbar.setOnClickListener {
|
||||||
|
(adapter.getFragment(activeTabLayout.selectedTabPosition) as? ReselectableFragment)?.onReselect()
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user