Skip to content

Commit

Permalink
fix(quick settings): incorrect range offset by the min
Browse files Browse the repository at this point in the history
This was due to the function calling the overridden getProgress impl on older APIs levels
  • Loading branch information
Mathias-Boulay committed Jan 15, 2025
1 parent d3cdc8e commit 002878a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_pojavlauncher/src/main/java/com/kdt/CustomSeekbar.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
if (internalChanges) return;
internalChanges = true;

progress += mMin;
progress = getProgress();
progress = applyIncrement(progress);

if (progress != previousProgress) {
Expand Down

0 comments on commit 002878a

Please sign in to comment.