From 10e636dac1e3e2a44cb5d6cacf7900b9bf0be12d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne Date: Tue, 12 May 2026 09:31:38 +0200 Subject: [PATCH] fix: missing red color for deleting and reporting toot menu ction (Dimillian/IceCubesApp#2466) The delete and the report actions for toot in dedicated menu can be considered as destructive. Thus the color of the text is red. However the icon was not red and should be. Now the icons are red tinted like the text. Closes Dimillian/IceCubesApp#2466 Signed-off-by: Pierre-Yves Lapersonne --- .../Conversations/Detail/ConversationMessageView.swift | 2 +- .../StatusKit/Row/Subviews/StatusRowContextMenu.swift | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Packages/Conversations/Sources/Conversations/Detail/ConversationMessageView.swift b/Packages/Conversations/Sources/Conversations/Detail/ConversationMessageView.swift index 5fa9fd4c3..bb7efa265 100644 --- a/Packages/Conversations/Sources/Conversations/Detail/ConversationMessageView.swift +++ b/Packages/Conversations/Sources/Conversations/Detail/ConversationMessageView.swift @@ -176,7 +176,7 @@ struct ConversationMessageView: View { Button(role: .destructive) { routerPath.presentedSheet = .report(status: message.reblogAsAsStatus ?? message) } label: { - Label("status.action.report", systemImage: "exclamationmark.bubble") + Label("status.action.report", systemImage: "exclamationmark.bubble").tint(.red) } } } diff --git a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowContextMenu.swift b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowContextMenu.swift index d5eebe1b6..637a62b31 100644 --- a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowContextMenu.swift +++ b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowContextMenu.swift @@ -214,7 +214,10 @@ struct StatusRowContextMenu: View { Button( role: .destructive, action: { viewModel.showDeleteAlert = true }, - label: { Label("status.action.delete", systemImage: "trash") }) + label: { + Label("status.action.delete", systemImage: "trash") + .tint(.red) + }) } } else { if !viewModel.isRemote { @@ -266,7 +269,7 @@ struct StatusRowContextMenu: View { viewModel.routerPath.presentedSheet = .report( status: viewModel.status.reblogAsAsStatus ?? viewModel.status) } label: { - Label("status.action.report", systemImage: "exclamationmark.bubble") + Label("status.action.report", systemImage: "exclamationmark.bubble").tint(.red) } } }