mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 14:02:53 +01:00
add icons for muted and blocked profiles (#1085)
This commit is contained in:
parent
90fce88ad7
commit
6dae90f227
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user