mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
Fix a null crash on back
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
86cf0754bc
commit
9669a36f0b
1 changed files with 5 additions and 1 deletions
|
@ -347,7 +347,11 @@ 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();
|
||||
if (lastActiveChildRouter != null) {
|
||||
return lastActiveChildRouter.handleBack();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue