Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66979b7f authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽 Committed by Mohammed Althaf T
Browse files

3551-Hide_zoom_slider_control_by_default

parent 004f6e3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5893,7 +5893,7 @@ public class MainActivity extends AppCompatActivity implements PreferenceFragmen
                    }
                });

                if( sharedPreferences.getBoolean(PreferenceKeys.ShowZoomSliderControlsPreferenceKey, true) ) {
                if( sharedPreferences.getBoolean(PreferenceKeys.ShowZoomSliderControlsPreferenceKey, false) ) {
                    if( !mainUI.inImmersiveMode() ) {
                        zoomSeekBar.setVisibility(View.VISIBLE);
                    }
+1 −1
Original line number Diff line number Diff line
@@ -1375,7 +1375,7 @@ public class MainUI {
                if( MyDebug.LOG ) {
                    Log.d(TAG, "has_zoom: " + main_activity.getPreview().supportsZoom());
                }
                if( main_activity.getPreview().supportsZoom() && sharedPreferences.getBoolean(PreferenceKeys.ShowZoomSliderControlsPreferenceKey, true) ) {
                if( main_activity.getPreview().supportsZoom() && sharedPreferences.getBoolean(PreferenceKeys.ShowZoomSliderControlsPreferenceKey, false) ) {
                    zoomSeekBar.setVisibility(visibility);
                }
                if( main_activity.showManualFocusSeekbar(false) )
+1 −1
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@
        android:key="preference_show_zoom_slider_controls"
        android:title="@string/preference_show_zoom_slider_controls"
        android:summary="@string/preference_show_zoom_slider_controls_summary"
        android:defaultValue="true"
        android:defaultValue="false"
        />

    <CheckBoxPreference