add check for show dialog images setting
This commit is contained in:
parent
012d19e79f
commit
930d8c51e3
1 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
|
|||
public void onResume() {
|
||||
super.onResume();
|
||||
OsmandSettings settings = getMyApplication().getSettings();
|
||||
// if (!settings.WIKIVOYAGE_SHOW_IMAGES_ASKED.get()) {
|
||||
if (!settings.WIKIVOYAGE_SHOW_IMAGES_ASKED.get()) {
|
||||
FragmentActivity activity = getActivity();
|
||||
FragmentManager fm = getFragmentManager();
|
||||
if (activity != null && fm != null) {
|
||||
|
@ -272,7 +272,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
|
|||
fragment.show(fm, WikivoyageShowPicturesDialogFragment.TAG);
|
||||
settings.WIKIVOYAGE_SHOW_IMAGES_ASKED.set(true);
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue