mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #11512 from JosJuice/android-mem2-crash
Android: Fix crash when attempting to change MEM2 size
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ public final class SettingsAdapter extends RecyclerView.Adapter<SettingViewHolde
|
||||
slider.setValue(mSeekbarProgress);
|
||||
|
||||
// Sliders can get frustrating to use with a small step size and large ranges
|
||||
int maxRange = item.getMax();
|
||||
int maxRange = item.getMax() - item.getMin();
|
||||
if (maxRange <= 100)
|
||||
{
|
||||
slider.setStepSize(1);
|
||||
|
||||
Reference in New Issue
Block a user