mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-29 19:51:08 +00:00
Move autoPlayVideo setting to content settings view (#1013)
This commit is contained in:
parent
0507ee6ccc
commit
dc3a56e37c
2 changed files with 3 additions and 3 deletions
|
@ -20,6 +20,9 @@ struct ContentSettingsView: View {
|
|||
}.listRowBackground(theme.primaryBackgroundColor)
|
||||
|
||||
Section("settings.content.media") {
|
||||
Toggle(isOn: $userPreferences.autoPlayVideo) {
|
||||
Text("settings.other.autoplay-video")
|
||||
}
|
||||
Toggle(isOn: $userPreferences.showAltTextForMedia) {
|
||||
Text("settings.content.media.show.alt")
|
||||
}
|
||||
|
|
|
@ -174,9 +174,6 @@ struct SettingsTabs: View {
|
|||
Toggle(isOn: $preferences.isSocialKeyboardEnabled) {
|
||||
Label("settings.other.social-keyboard", systemImage: "keyboard")
|
||||
}
|
||||
Toggle(isOn: $preferences.autoPlayVideo) {
|
||||
Label("settings.other.autoplay-video", systemImage: "play.square.stack")
|
||||
}
|
||||
}
|
||||
.listRowBackground(theme.primaryBackgroundColor)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue