Add return

This commit is contained in:
alex 2017-10-30 13:52:51 +02:00
parent d7bc5c840d
commit da49f91651

View file

@ -98,7 +98,7 @@ public abstract class MenuBottomSheetDialogFragment extends BottomSheetDialogFra
protected boolean isNightMode() {
if (usedOnMap) {
getMyApplication().getDaynightHelper().isNightModeForMapControls();
return getMyApplication().getDaynightHelper().isNightModeForMapControls();
}
return !getMyApplication().getSettings().isLightContent();
}