mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-14 12:31:00 +00:00
Rearrange settings
This commit is contained in:
parent
e5d8a4d132
commit
15c1c367df
2 changed files with 4 additions and 5 deletions
|
@ -179,8 +179,7 @@
|
|||
"preferences.media.avatars.animate.profiles" = "In profiles";
|
||||
"preferences.media.avatars.animate.never" = "Never";
|
||||
"preferences.media.custom-emojis.animate" = "Animate custom emoji";
|
||||
"preferences.media.headers" = "Headers";
|
||||
"preferences.media.headers.animate" = "Animate headers";
|
||||
"preferences.media.headers.animate" = "Animate profile headers";
|
||||
"preferences.media.autoplay" = "Autoplay";
|
||||
"preferences.media.autoplay.gifs" = "Autoplay GIFs";
|
||||
"preferences.media.autoplay.videos" = "Autoplay videos";
|
||||
|
|
|
@ -111,12 +111,12 @@ struct PreferencesView: View {
|
|||
Text(option.localizedStringKey).tag(option)
|
||||
}
|
||||
}
|
||||
Toggle("preferences.media.headers.animate",
|
||||
isOn: reduceMotion ? .constant(false) : $identityContext.appPreferences.animateHeaders)
|
||||
.disabled(reduceMotion)
|
||||
Toggle("preferences.media.custom-emojis.animate",
|
||||
isOn: reduceMotion ? .constant(false) : $identityContext.appPreferences.animateCustomEmojis)
|
||||
.disabled(reduceMotion)
|
||||
Toggle("preferences.media.headers.animate",
|
||||
isOn: reduceMotion ? .constant(false) : $identityContext.appPreferences.animateHeaders)
|
||||
.disabled(reduceMotion)
|
||||
}
|
||||
.disabled(reduceMotion)
|
||||
if viewModel.identityContext.identity.authenticated
|
||||
|
|
Loading…
Reference in a new issue