Add OnlyZaps Mode

Changelog-Added: Add OnlyZaps mode: disable reactions, only zaps!
This commit is contained in:
William Casarin
2023-04-20 13:40:37 -07:00
parent 209f3e8759
commit ac82f1bc09
16 changed files with 107 additions and 75 deletions
@@ -14,14 +14,6 @@ struct AppearanceSettingsView: View {
var body: some View {
Form {
Section(header: Text(NSLocalizedString("Reactions", comment: "Section header for reaction settings"))) {
Toggle(NSLocalizedString("Hide Reactions", comment: "Setting to hide reactions."), isOn: $settings.hide_reactions)
.toggleStyle(.switch)
.onChange(of: settings.hide_reactions) { newVal in
notify(.hide_reactions, newVal)
}
}
Section(header: Text(NSLocalizedString("Text Truncation", comment: "Section header for damus text truncation user configuration"))) {
Toggle(NSLocalizedString("Truncate timeline text", comment: "Setting to truncate text in timeline"), isOn: $settings.truncate_timeline_text)
.toggleStyle(.switch)