diff options
Diffstat (limited to 'Hotline/macOS/MessageBoardView.swift')
| -rw-r--r-- | Hotline/macOS/MessageBoardView.swift | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Hotline/macOS/MessageBoardView.swift b/Hotline/macOS/MessageBoardView.swift index 27b4be7..660ca05 100644 --- a/Hotline/macOS/MessageBoardView.swift +++ b/Hotline/macOS/MessageBoardView.swift @@ -13,7 +13,8 @@ struct MessageBoardView: View { ScrollView { LazyVStack(alignment: .leading) { ForEach(model.messageBoard, id: \.self) { - Text($0) + Text(LocalizedStringKey($0.convertLinksToMarkdown())) + .tint(Color("Link Color")) .lineLimit(100) .lineSpacing(4) .padding() @@ -51,9 +52,6 @@ struct MessageBoardView: View { } .padding() } - - - } .sheet(isPresented: $composerDisplayed) { TextEditor(text: $composerText) @@ -82,11 +80,6 @@ struct MessageBoardView: View { } } } -// .alert("Hello", isPresented: $showPermissionAlert) { -// Button("OK") { -// showPermissionAlert.toggle() -// } -// } message: { Text("WHAT") } .toolbar { ToolbarItem(placement:.primaryAction) { Button { |