mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Reorder preference
This commit is contained in:
parent
bde85a1378
commit
f16426877c
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue