mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 16:25:05 +01:00
Fix the icon issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
e105eef2a8
commit
eca83fef93
@ -644,6 +644,7 @@ class ChatController(args: Bundle) : BaseController(), MessagesListAdapter
|
|||||||
|
|
||||||
override fun onAttach(view: View) {
|
override fun onAttach(view: View) {
|
||||||
super.onAttach(view)
|
super.onAttach(view)
|
||||||
|
setTitle()
|
||||||
eventBus.register(this)
|
eventBus.register(this)
|
||||||
|
|
||||||
if (conversationUser?.userId != "?" && conversationUser?.hasSpreedFeatureCapability(
|
if (conversationUser?.userId != "?" && conversationUser?.hasSpreedFeatureCapability(
|
||||||
|
@ -99,6 +99,7 @@ abstract class BaseController : ButterKnifeController(), ComponentCallbacks {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onChangeStarted(changeHandler: ControllerChangeHandler, changeType: ControllerChangeType) {
|
override fun onChangeStarted(changeHandler: ControllerChangeHandler, changeType: ControllerChangeType) {
|
||||||
|
actionBar?.setIcon(null)
|
||||||
setOptionsMenuHidden(true)
|
setOptionsMenuHidden(true)
|
||||||
super.onChangeStarted(changeHandler, changeType)
|
super.onChangeStarted(changeHandler, changeType)
|
||||||
}
|
}
|
||||||
@ -129,7 +130,6 @@ abstract class BaseController : ButterKnifeController(), ComponentCallbacks {
|
|||||||
}
|
}
|
||||||
it.container.layoutParams = layoutParamsForContainer
|
it.container.layoutParams = layoutParamsForContainer
|
||||||
it.toolbar.layoutParams = layoutParams
|
it.toolbar.layoutParams = layoutParams
|
||||||
it.toolbar.forceLayout()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user