mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 19:42:34 +00:00
Fix a null crash on back
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
86cf0754bc
commit
9669a36f0b
@ -347,7 +347,11 @@ public abstract class BottomNavigationController extends BaseController {
|
|||||||
* The childRouter should handleBack,
|
* The childRouter should handleBack,
|
||||||
* as this BottomNavigationController doesn't have a back step sensible to the user.
|
* as this BottomNavigationController doesn't have a back step sensible to the user.
|
||||||
*/
|
*/
|
||||||
|
if (lastActiveChildRouter != null) {
|
||||||
return lastActiveChildRouter.handleBack();
|
return lastActiveChildRouter.handleBack();
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user