Various fixes
This commit is contained in:
parent
8e72430b4f
commit
abb1c53ae6
|
@ -34,7 +34,7 @@ public struct AccountsListRow: View {
|
|||
}
|
||||
|
||||
public var body: some View {
|
||||
HStack {
|
||||
HStack(alignment: .top) {
|
||||
AvatarView(url: viewModel.account.avatar, size: .status)
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
EmojiTextApp(.init(stringValue: viewModel.account.safeDisplayName), emojis: viewModel.account.emojis)
|
||||
|
|
|
@ -75,9 +75,9 @@ struct StatusRowHeaderView: View {
|
|||
}
|
||||
|
||||
private var accountBadgeView: Text {
|
||||
if viewModel.status.account.bot {
|
||||
if (viewModel.status.reblogAsAsStatus ?? viewModel.status).account.bot {
|
||||
return Text(Image(systemName: "gearshape.fill")) + Text(" ")
|
||||
} else if viewModel.status.account.locked {
|
||||
} else if (viewModel.status.reblogAsAsStatus ?? viewModel.status).account.locked {
|
||||
return Text(Image(systemName: "lock.fill")) + Text(" ")
|
||||
}
|
||||
return Text("")
|
||||
|
|
Loading…
Reference in New Issue