mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
UserPreference now supports closure based default
and you can also force the defaults to be always used through a subscription
This commit is contained in:
+9
@@ -32,6 +32,15 @@ struct AdvancedSettingsScreen: View {
|
||||
.onChange(of: context.optimizeMediaUploads) {
|
||||
context.send(viewAction: .optimizeMediaUploadsChanged)
|
||||
}
|
||||
|
||||
// TODO: Waiting for designs and copies
|
||||
ListRow(label: .plain(title: "hide avatars",
|
||||
description: ""),
|
||||
kind: .toggle($context.hideInviteAvatars))
|
||||
|
||||
ListRow(label: .plain(title: "hide media",
|
||||
description: ""),
|
||||
kind: .toggle($context.hideTimelineMedia))
|
||||
}
|
||||
}
|
||||
.compoundList()
|
||||
|
||||
Reference in New Issue
Block a user