Fix #9484
This commit is contained in:
parent
8ad6f937b6
commit
85a827d9ef
1 changed files with 2 additions and 2 deletions
|
@ -757,8 +757,8 @@ public class SettingsNavigationActivity extends SettingsBaseActivity {
|
||||||
final int min;
|
final int min;
|
||||||
final int max;
|
final int max;
|
||||||
if (defaultSpeedOnly) {
|
if (defaultSpeedOnly) {
|
||||||
minValue[0] = Math.round(1 * ratio[0]);
|
minValue[0] = Math.round(Math.min(1, settingsDefaultSpeed) * ratio[0]);
|
||||||
maxValue[0] = Math.round(300 * ratio[0]);
|
maxValue[0] = Math.round(Math.max(300, settingsDefaultSpeed) * ratio[0]);
|
||||||
min = minValue[0];
|
min = minValue[0];
|
||||||
max = maxValue[0];
|
max = maxValue[0];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue