mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
BREAKING CHANGE: persist playback speed and remove playback speed option (#4661)
This commit is contained in:
parent
41c35c5392
commit
702b9a4aaa
@ -72,6 +72,11 @@ class PlaybackOptionsSheet(
|
||||
binding.speed.value.round(2),
|
||||
binding.pitch.value.round(2)
|
||||
)
|
||||
|
||||
PreferenceHelper.putString(
|
||||
PreferenceKeys.PLAYBACK_SPEED,
|
||||
player.playbackParameters.speed.toString()
|
||||
)
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
@ -138,15 +138,6 @@
|
||||
|
||||
<PreferenceCategory app:title="@string/defaults">
|
||||
|
||||
<com.github.libretube.ui.views.SliderPreference
|
||||
android:icon="@drawable/ic_speed"
|
||||
app:defValue="1.0"
|
||||
app:key="playback_speed"
|
||||
app:stepSize="0.1"
|
||||
app:title="@string/playback_speed"
|
||||
app:valueFrom="0.2"
|
||||
app:valueTo="4.0" />
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue=""
|
||||
android:icon="@drawable/ic_caption"
|
||||
|
Loading…
x
Reference in New Issue
Block a user