mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-19 13:41:26 +00:00
Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
cc0a0c2d51
commit
effcc34ae2
@ -350,7 +350,7 @@ public abstract class BottomNavigationController extends BaseController {
|
||||
* The childRouter should handleBack,
|
||||
* as this BottomNavigationController doesn't have a back step sensible to the user.
|
||||
*/
|
||||
return lastActiveChildRouter.handleBack();
|
||||
return lastActiveChildRouter != null && lastActiveChildRouter.handleBack();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user