mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Make sure library subtitle does not show on other screens
This commit is contained in:
parent
7d9f5dddde
commit
643061dd72
1 changed files with 2 additions and 1 deletions
|
@ -405,7 +405,8 @@ class LibraryController(
|
|||
|
||||
private fun setSubtitle() {
|
||||
if (isBindingInitialized && !singleCategory && presenter.showAllCategories &&
|
||||
!binding.headerTitle.text.isNullOrBlank() && !binding.recyclerCover.isClickable
|
||||
!binding.headerTitle.text.isNullOrBlank() && !binding.recyclerCover.isClickable &&
|
||||
isControllerVisible
|
||||
) {
|
||||
activityBinding?.searchToolbar?.subtitle = binding.headerTitle.text.toString()
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue