From 0a1dc423d4f78ee78cb5dc4a48f6c07dd275da7b Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 22 Dec 2022 14:54:41 -0500 Subject: [PATCH] Fix compose attachment list buttons not using accent color on macOS --- Tusker/Screens/Compose/ComposeAttachmentsList.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tusker/Screens/Compose/ComposeAttachmentsList.swift b/Tusker/Screens/Compose/ComposeAttachmentsList.swift index 669ad9fc..282fd383 100644 --- a/Tusker/Screens/Compose/ComposeAttachmentsList.swift +++ b/Tusker/Screens/Compose/ComposeAttachmentsList.swift @@ -42,7 +42,7 @@ struct ComposeAttachmentsList: View { Label("Add photo or video", systemImage: addButtonImageName) } .disabled(!canAddAttachment) - .foregroundColor(.blue) + .foregroundColor(.accentColor) .frame(height: cellHeight / 2) .sheetOrPopover(isPresented: $isShowingAssetPickerPopover, content: self.assetPickerPopover) .listRowInsets(EdgeInsets(top: cellPadding / 2, leading: cellPadding / 2, bottom: cellPadding / 2, trailing: cellPadding / 2)) @@ -51,7 +51,7 @@ struct ComposeAttachmentsList: View { Label("Draw something", systemImage: "hand.draw") } .disabled(!canAddAttachment) - .foregroundColor(.blue) + .foregroundColor(.accentColor) .frame(height: cellHeight / 2) .listRowInsets(EdgeInsets(top: cellPadding / 2, leading: cellPadding / 2, bottom: cellPadding / 2, trailing: cellPadding / 2)) @@ -59,7 +59,7 @@ struct ComposeAttachmentsList: View { Label(draft.poll == nil ? "Add a poll" : "Remove poll", systemImage: "chart.bar.doc.horizontal") } .disabled(!canAddPoll) - .foregroundColor(.blue) + .foregroundColor(.accentColor) .frame(height: cellHeight / 2) .listRowInsets(EdgeInsets(top: cellPadding / 2, leading: cellPadding / 2, bottom: cellPadding / 2, trailing: cellPadding / 2)) }