diff --git a/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java index 666e068d23..d97b88030a 100644 --- a/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/base/BottomSheetDialogFragment.java @@ -28,7 +28,7 @@ public abstract class BottomSheetDialogFragment extends DialogFragment { BottomSheetDialog dialog = new BottomSheetDialog(getContext(), themeId); dialog.setCanceledOnTouchOutside(true); Window window = dialog.getWindow(); - if (!getMyApplication().getSettings().DO_NOT_USE_ANIMATIONS.get() && window != null) { + if (!settings.DO_NOT_USE_ANIMATIONS.get() && window != null) { window.getAttributes().windowAnimations = R.style.Animations_PopUpMenu_Bottom; }