diff --git a/app/src/main/java/com/nextcloud/talk/controllers/base/bottomnavigation/BottomNavigationController.java b/app/src/main/java/com/nextcloud/talk/controllers/base/bottomnavigation/BottomNavigationController.java index 4ff920a46..d2b9083a9 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/base/bottomnavigation/BottomNavigationController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/base/bottomnavigation/BottomNavigationController.java @@ -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; + } } /**