Only truncate timeline text if enabled in settings

Changelog-Changed: Only truncate timeline text if enabled in settings
This commit is contained in:
William Casarin
2023-04-03 11:30:05 -07:00
parent 094f63bcff
commit 4996272942
4 changed files with 20 additions and 3 deletions
+2
View File
@@ -214,6 +214,8 @@ struct ConfigView: View {
.toggleStyle(.switch)
Toggle(NSLocalizedString("Zap Vibration", comment: "Setting to enable vibration on zap"), isOn: $settings.zap_vibration)
.toggleStyle(.switch)
Toggle(NSLocalizedString("Truncate text in timeline", comment: "Truncate text in timeline"), isOn: $settings.truncate_timeline_text)
.toggleStyle(.switch)
}
Section(NSLocalizedString("Images", comment: "Section title for images configuration.")) {