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

Commit e67aa9b0 authored by Cédric Bellegarde's avatar Cédric Bellegarde Committed by Bruno Martins
Browse files

LineageParts: Add support for clock auto-hiding

Change-Id: I1a8beff598c284754cf5b6a4f52d0ee072b5e4de
parent e360edfa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -450,6 +450,9 @@
    <string name="status_bar_clock_show_seconds_title">Show seconds</string>
    <string name="status_bar_clock_show_seconds_summary">Show hours, minutes, and seconds</string>

    <string name="status_bar_clock_auto_hide_title">Auto hide</string>
    <string name="status_bar_clock_auto_hide_summary">Hide clock if launcher is visible</string>

    <string name="status_bar_clock_position_title">Clock position</string>
    <string name="status_bar_clock_position_right">Right</string>
    <string name="status_bar_clock_position_left">Left</string>
+6 −0
Original line number Diff line number Diff line
@@ -65,6 +65,12 @@
            android:summary="@string/status_bar_clock_show_seconds_summary"
            android:defaultValue="false" />

        <lineageos.preference.LineageSystemSettingSwitchPreference
            android:key="status_bar_clock_auto_hide"
            android:title="@string/status_bar_clock_auto_hide_title"
            android:summary="@string/status_bar_clock_auto_hide_summary"
            android:defaultValue="false" />

        <lineageos.preference.LineageSystemSettingListPreference
            android:key="status_bar_am_pm"
            android:title="@string/status_bar_am_pm_title"