diff --git a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageBaseDialogFragment.java b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageBaseDialogFragment.java index 813666022c..d3b3ab5329 100644 --- a/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageBaseDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/wikivoyage/WikivoyageBaseDialogFragment.java @@ -38,7 +38,7 @@ public class WikivoyageBaseDialogFragment extends BaseOsmAndDialogFragment { Dialog dialog = new Dialog(getContext(), themeId); Window window = dialog.getWindow(); if (window != null) { - if (!getMyApplication().getSettings().DO_NOT_USE_ANIMATIONS.get()) { + if (!getSettings().DO_NOT_USE_ANIMATIONS.get()) { window.getAttributes().windowAnimations = R.style.Animations_Alpha; } if (Build.VERSION.SDK_INT >= 21) {