commit 3661d64450a56044fdcb5aa755c075c1d740a418
parent 24c82293b3574250bcd04fa72dbb44826eb18229
Author: William Casarin <jb55@jb55.com>
Date: Thu, 6 Apr 2023 12:10:17 -0700
regression: remove action bar from DM view
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/DirectMessagesView.swift b/damus/Views/DirectMessagesView.swift
@@ -53,10 +53,10 @@ struct DirectMessagesView: View {
var options: EventViewOptions {
if self.damus_state.settings.translate_dms {
- return [.truncate_content]
+ return [.truncate_content, .no_action_bar]
}
- return [.truncate_content, .no_translate]
+ return [.truncate_content, .no_action_bar, .no_translate]
}
func MaybeEvent(_ tup: (String, DirectMessageModel)) -> some View {