Change icon for locked profile (#1065)

This commit is contained in:
Peter-Josef Meisch 2023-02-26 17:33:16 +01:00 committed by GitHub
parent 3a144b7792
commit 4d28e2348e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ struct AccountDetailHeaderView: View {
.font(.scaledHeadline)
.emojiSize(Font.scaledHeadlinePointSize)
if account.bot {
Text(Image(systemName: "gearshape.fill"))
Text(Image(systemName: "poweroutlet.type.b.fill"))
.font(.footnote)
}
if account.locked {

View File

@ -76,7 +76,7 @@ struct StatusRowHeaderView: View {
private var accountBadgeView: Text {
if (viewModel.status.reblogAsAsStatus ?? viewModel.status).account.bot {
return Text(Image(systemName: "gearshape.fill")) + Text(" ")
return Text(Image(systemName: "poweroutlet.type.b.fill")) + Text(" ")
} else if (viewModel.status.reblogAsAsStatus ?? viewModel.status).account.locked {
return Text(Image(systemName: "lock.fill")) + Text(" ")
}