mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Simplify code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
ab49e2c26b
commit
08827ffadd
@ -344,11 +344,7 @@ public abstract class BottomNavigationController extends BaseController {
|
||||
* The childRouter should handleBack,
|
||||
* as this BottomNavigationController doesn't have a back step sensible to the user.
|
||||
*/
|
||||
if (lastActiveChildRouter != null) {
|
||||
return lastActiveChildRouter.handleBack();
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return lastActiveChildRouter != null && lastActiveChildRouter.handleBack();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user