From 6dae90f22740efcd3e6099916f7c17a25dd87bd1 Mon Sep 17 00:00:00 2001 From: Peter-Josef Meisch Date: Mon, 27 Feb 2023 06:37:39 +0100 Subject: [PATCH] add icons for muted and blocked profiles (#1085) --- .../Account/Sources/Account/AccountDetailHeaderView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Packages/Account/Sources/Account/AccountDetailHeaderView.swift b/Packages/Account/Sources/Account/AccountDetailHeaderView.swift index 07db039a..cb6c288d 100644 --- a/Packages/Account/Sources/Account/AccountDetailHeaderView.swift +++ b/Packages/Account/Sources/Account/AccountDetailHeaderView.swift @@ -144,6 +144,14 @@ struct AccountDetailHeaderView: View { Text(Image(systemName: "lock.fill")) .font(.footnote) } + if viewModel.relationship?.blocking == true { + Text(Image(systemName: "person.crop.circle.badge.xmark.fill")) + .font(.footnote) + } + if viewModel.relationship?.muting == true { + Text(Image(systemName: "speaker.slash.fill")) + .font(.footnote) + } } Text("@\(account.acct)") .font(.scaledCallout)