mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
Check for null
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
d24c96e573
commit
bf71a90b8c
@ -219,11 +219,11 @@ public abstract class BottomNavigationController extends BaseController {
|
|||||||
* BottomNavigationController#getControllerFor(int)}, using a {@link FadeChangeHandler}.
|
* BottomNavigationController#getControllerFor(int)}, using a {@link FadeChangeHandler}.
|
||||||
*/
|
*/
|
||||||
protected void resetCurrentBackstack() {
|
protected void resetCurrentBackstack() {
|
||||||
lastActiveChildRouter
|
if (lastActiveChildRouter != null) {
|
||||||
.setRoot(
|
lastActiveChildRouter.setRoot(RouterTransaction.with(this.getControllerFor(currentlySelectedItemId))
|
||||||
RouterTransaction.with(this.getControllerFor(currentlySelectedItemId))
|
.pushChangeHandler(new FadeChangeHandler())
|
||||||
.pushChangeHandler(new FadeChangeHandler())
|
.popChangeHandler(new FadeChangeHandler()));
|
||||||
.popChangeHandler(new FadeChangeHandler()));
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user