diff --git a/app/src/main/java/net/sourceforge/opencamera/MyApplicationInterface.java b/app/src/main/java/net/sourceforge/opencamera/MyApplicationInterface.java index 8820143c6f6060f3c94e11c7dc479c15dc9782a1..d52ed93309e7c82bd35ce6038b9e762dfd46826c 100644 --- a/app/src/main/java/net/sourceforge/opencamera/MyApplicationInterface.java +++ b/app/src/main/java/net/sourceforge/opencamera/MyApplicationInterface.java @@ -1030,7 +1030,7 @@ public class MyApplicationInterface extends BasicApplicationInterface { @Override public String getPreviewSizePref() { - return sharedPreferences.getString(PreferenceKeys.PreviewSizePreferenceKey, "preference_preview_size_wysiwyg"); + return sharedPreferences.getString(PreferenceKeys.PreviewSizePreferenceKey, "preference_preview_size_display"); } @Override diff --git a/app/src/main/java/net/sourceforge/opencamera/preview/BasicApplicationInterface.java b/app/src/main/java/net/sourceforge/opencamera/preview/BasicApplicationInterface.java index 58395005f0ba191aca7fd2730ec57092dc69d885..9695e890855b82037fe5df6d9681b6e1a9a052a3 100644 --- a/app/src/main/java/net/sourceforge/opencamera/preview/BasicApplicationInterface.java +++ b/app/src/main/java/net/sourceforge/opencamera/preview/BasicApplicationInterface.java @@ -185,7 +185,7 @@ public abstract class BasicApplicationInterface implements ApplicationInterface @Override public String getPreviewSizePref() { - return "preference_preview_size_wysiwyg"; + return "preference_preview_size_display"; } @Override diff --git a/app/src/main/java/net/sourceforge/opencamera/ui/DrawPreview.java b/app/src/main/java/net/sourceforge/opencamera/ui/DrawPreview.java index 4ac1b115ca15e94aebfb5d20e9ea0251243a5b5b..5b60afc36bef08943b9b33207c36d3023f152ae7 100644 --- a/app/src/main/java/net/sourceforge/opencamera/ui/DrawPreview.java +++ b/app/src/main/java/net/sourceforge/opencamera/ui/DrawPreview.java @@ -538,7 +538,7 @@ public class DrawPreview { show_geo_direction_pref = sharedPreferences.getBoolean(PreferenceKeys.ShowGeoDirectionPreferenceKey, false); take_photo_border_pref = sharedPreferences.getBoolean(PreferenceKeys.TakePhotoBorderPreferenceKey, true); - preview_size_wysiwyg_pref = sharedPreferences.getString(PreferenceKeys.PreviewSizePreferenceKey, "preference_preview_size_wysiwyg").equals("preference_preview_size_wysiwyg"); + preview_size_wysiwyg_pref = sharedPreferences.getString(PreferenceKeys.PreviewSizePreferenceKey, "preference_preview_size_display").equals("preference_preview_size_wysiwyg"); store_location_pref = sharedPreferences.getBoolean(PreferenceKeys.LocationPreferenceKey, false); show_angle_line_pref = sharedPreferences.getBoolean(PreferenceKeys.ShowAngleLinePreferenceKey, false); diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 6bf42ec6e65e9265b811a80ec26775327b7a76c1..f78323f6797d6fb21a2ba917e83634845daf80b7 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -329,7 +329,7 @@ android:summary="%s" android:entries="@array/preference_preview_size_entries" android:entryValues="@array/preference_preview_size_values" - android:defaultValue="preference_preview_size_wysiwyg" + android:defaultValue="preference_preview_size_display" />