Reorder preference

This commit is contained in:
Justin Mazzocchi 2021-02-11 21:03:12 -08:00
parent bde85a1378
commit f16426877c
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -74,6 +74,8 @@ struct PreferencesView: View {
Text(option.localizedStringKey).tag(option) Text(option.localizedStringKey).tag(option)
} }
} }
Toggle("preferences.show-reblog-and-favorite-counts",
isOn: $identityContext.appPreferences.showReblogAndFavoriteCounts)
Toggle("preferences.require-double-tap-to-reblog", Toggle("preferences.require-double-tap-to-reblog",
isOn: $identityContext.appPreferences.requireDoubleTapToReblog) isOn: $identityContext.appPreferences.requireDoubleTapToReblog)
Toggle("preferences.require-double-tap-to-favorite", Toggle("preferences.require-double-tap-to-favorite",
@ -114,8 +116,6 @@ struct PreferencesView: View {
.disabled(reduceMotion) .disabled(reduceMotion)
} }
.disabled(reduceMotion) .disabled(reduceMotion)
Toggle("preferences.show-reblog-and-favorite-counts",
isOn: $identityContext.appPreferences.showReblogAndFavoriteCounts)
if viewModel.identityContext.identity.authenticated if viewModel.identityContext.identity.authenticated
&& !viewModel.identityContext.identity.pending { && !viewModel.identityContext.identity.pending {
Picker("preferences.home-timeline-position-on-startup", Picker("preferences.home-timeline-position-on-startup",