Show full username for leading avatar position

This commit is contained in:
Thomas Ricouard 2023-02-22 07:31:14 +01:00
parent 4576507225
commit 5ca0180c4c

View file

@ -60,6 +60,12 @@ struct StatusRowHeaderView: View {
.font(.scaledFootnote)
.foregroundColor(.gray)
.lineLimit(1)
} else if theme.displayFullUsername, theme.avatarPosition == .leading {
Text("@\(status.account.acct)")
.font(.scaledFootnote)
.foregroundColor(.gray)
.lineLimit(1)
.offset(y: 1)
}
}
}