Disable translations in DMs by default

There is an option to enable it now.

Changelog-Changed: Disable translations in DMs by default
This commit is contained in:
William Casarin
2023-04-06 12:07:01 -07:00
parent 7fb1bc48c4
commit 24c82293b3
7 changed files with 34 additions and 19 deletions

View File

@@ -15,6 +15,7 @@ struct EventViewOptions: OptionSet {
static let wide = EventViewOptions(rawValue: 1 << 3)
static let truncate_content = EventViewOptions(rawValue: 1 << 4)
static let pad_content = EventViewOptions(rawValue: 1 << 5)
static let no_translate = EventViewOptions(rawValue: 1 << 6)
}
struct TextEvent: View {