From da49f91651a29665914fac81e9ce4f7ebda1ba30 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 30 Oct 2017 13:52:51 +0200 Subject: [PATCH] Add return --- .../src/net/osmand/plus/base/MenuBottomSheetDialogFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/base/MenuBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/base/MenuBottomSheetDialogFragment.java index cd9aab37c1..2886f6533c 100644 --- a/OsmAnd/src/net/osmand/plus/base/MenuBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/base/MenuBottomSheetDialogFragment.java @@ -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(); }