mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 16:25:05 +01:00
Revert method removal for new screen
This commit is contained in:
parent
ef8dd28151
commit
cee1c6a6a1
@ -255,13 +255,16 @@ class ConversationsListView : BaseView() {
|
|||||||
|
|
||||||
@OnClick(R.id.floatingActionButton)
|
@OnClick(R.id.floatingActionButton)
|
||||||
fun onFloatingActionButtonClick() {
|
fun onFloatingActionButtonClick() {
|
||||||
|
openNewConversationScreen()
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun openNewConversationScreen() {
|
||||||
val bundle = Bundle()
|
val bundle = Bundle()
|
||||||
bundle.putBoolean(BundleKeys.KEY_NEW_CONVERSATION, true)
|
bundle.putBoolean(BundleKeys.KEY_NEW_CONVERSATION, true)
|
||||||
router.pushController(
|
router.pushController(
|
||||||
RouterTransaction.with(ContactsController(bundle))
|
RouterTransaction.with(ContactsController(bundle))
|
||||||
.pushChangeHandler(HorizontalChangeHandler())
|
.pushChangeHandler(HorizontalChangeHandler())
|
||||||
.popChangeHandler(HorizontalChangeHandler())
|
.popChangeHandler(HorizontalChangeHandler()))
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getConversationMenuItemsForConversation(conversation: Conversation): MutableList<BasicListItemWithImage> {
|
private fun getConversationMenuItemsForConversation(conversation: Conversation): MutableList<BasicListItemWithImage> {
|
||||||
|
Loading…
Reference in New Issue
Block a user