Move autoPlayVideo setting to content settings view (#1013)

This commit is contained in:
Ico Davids 2023-02-22 18:57:48 +01:00 committed by GitHub
parent 0507ee6ccc
commit dc3a56e37c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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")
}

View file

@ -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)
}