Skip to content

Commit

Permalink
Stock Clock size 12dp
Browse files Browse the repository at this point in the history
  • Loading branch information
DHD2280 committed Apr 22, 2024
1 parent 517f115 commit a1fd118
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ dependencies {
// Recycler View
implementation("androidx.recyclerview:recyclerview:1.3.2")

implementation("androidx.constraintlayout:constraintlayout-core:1.0.4")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")

// Work
implementation("androidx.work:work-runtime:2.9.0")
implementation("androidx.concurrent:concurrent-futures:1.1.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void updatePrefs(String... Key) {
mClockPosition = Integer.parseInt(Xprefs.getString("status_bar_clock", String.valueOf(POSITION_LEFT)));
mClockCustomColor = Xprefs.getBoolean("status_bar_custom_clock_color", false);
mClockColor = Xprefs.getInt("status_bar_clock_color", Color.WHITE);
mClockSize = Xprefs.getSliderInt("status_bar_clock_size", 14);
mClockSize = Xprefs.getSliderInt("status_bar_clock_size", 12);

// gradients prefs
clockChip = Xprefs.getBoolean("status_bar_clock_background_chip_switch", false);
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/xml/lockscreen_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
android:summary="@string/lockscreen_fp_icon_picker_summary"
app:iconSpaceReserved="false" />

<!-- <it.dhd.oxygencustomizer.customprefs.SliderPreference
<it.dhd.oxygencustomizer.customprefs.SliderPreference
android:key="lockscreen_fp_icon_scaling"
android:title="@string/lockscreen_fp_icon_scale"
app:defaultValue="1.0"
app:iconSpaceReserved="false"
app:maxVal="2.0"
app:minVal="0.5"
app:tickInterval=".1" /> -->
app:tickInterval=".1" />

</PreferenceCategory>

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/statusbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
android:title="@string/clock_font_size_title"
app:maxVal="20"
app:minVal="4"
app:defaultValue="14" />
app:defaultValue="12" />

<Preference
app:iconSpaceReserved="false"
Expand Down

0 comments on commit a1fd118

Please sign in to comment.