mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-13 07:44:11 +01:00
Fix issues with the bottom sheet
This commit is contained in:
parent
2ec45391de
commit
40b03de7a7
@ -261,9 +261,7 @@ public class CallMenuController extends BaseController implements FlexibleAdapte
|
|||||||
eventBus.post(new BottomSheetLockEvent(true, 0, false, true));
|
eventBus.post(new BottomSheetLockEvent(true, 0, false, true));
|
||||||
bundle = new Bundle();
|
bundle = new Bundle();
|
||||||
bundle.putBoolean(BundleKeys.KEY_NEW_CONVERSATION, true);
|
bundle.putBoolean(BundleKeys.KEY_NEW_CONVERSATION, true);
|
||||||
getParentController().getParentController().getRouter().pushController((RouterTransaction.with
|
getParentController().getRouter().pushController((RouterTransaction.with(new ContactsController(bundle))
|
||||||
(new ContactsController
|
|
||||||
(bundle))
|
|
||||||
.pushChangeHandler(new VerticalChangeHandler())
|
.pushChangeHandler(new VerticalChangeHandler())
|
||||||
.popChangeHandler(new VerticalChangeHandler())));
|
.popChangeHandler(new VerticalChangeHandler())));
|
||||||
} else {
|
} else {
|
||||||
|
@ -134,6 +134,7 @@ public class EntryMenuController extends BaseController {
|
|||||||
if (originalBundle.containsKey(BundleKeys.KEY_SPREED_CAPABILITIES)) {
|
if (originalBundle.containsKey(BundleKeys.KEY_SPREED_CAPABILITIES)) {
|
||||||
bundle.putParcelable(BundleKeys.KEY_SPREED_CAPABILITIES, originalBundle.getParcelable(BundleKeys.KEY_SPREED_CAPABILITIES));
|
bundle.putParcelable(BundleKeys.KEY_SPREED_CAPABILITIES, originalBundle.getParcelable(BundleKeys.KEY_SPREED_CAPABILITIES));
|
||||||
}
|
}
|
||||||
|
|
||||||
getRouter().pushController(RouterTransaction.with(new OperationsMenuController(bundle))
|
getRouter().pushController(RouterTransaction.with(new OperationsMenuController(bundle))
|
||||||
.pushChangeHandler(new HorizontalChangeHandler())
|
.pushChangeHandler(new HorizontalChangeHandler())
|
||||||
.popChangeHandler(new HorizontalChangeHandler()));
|
.popChangeHandler(new HorizontalChangeHandler()));
|
||||||
|
@ -630,17 +630,10 @@ public class OperationsMenuController extends BaseController {
|
|||||||
conversationIntent.putExtras(bundle);
|
conversationIntent.putExtras(bundle);
|
||||||
|
|
||||||
if (getParentController() != null) {
|
if (getParentController() != null) {
|
||||||
if (getParentController().getParentController() != null) {
|
getParentController().getRouter().pushController(RouterTransaction.with(new
|
||||||
getParentController().getParentController().getRouter().pushController(RouterTransaction.with(new
|
ChatController(bundle))
|
||||||
ChatController(bundle))
|
.pushChangeHandler(new HorizontalChangeHandler())
|
||||||
.pushChangeHandler(new HorizontalChangeHandler())
|
.popChangeHandler(new HorizontalChangeHandler()));
|
||||||
.popChangeHandler(new HorizontalChangeHandler()));
|
|
||||||
} else {
|
|
||||||
getParentController().getRouter().pushController(RouterTransaction.with(new
|
|
||||||
ChatController(bundle))
|
|
||||||
.pushChangeHandler(new HorizontalChangeHandler())
|
|
||||||
.popChangeHandler(new HorizontalChangeHandler()));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user