Fix supporter badge for rounded avatar

This commit is contained in:
Thomas Ricouard 2023-03-04 09:16:00 +01:00
parent f00f843a77
commit ab06c0ab17
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ struct AccountDetailHeaderView: View {
.resizable()
.frame(width: 25, height: 25)
.foregroundColor(theme.tintColor)
.offset(x: 10, y: -10)
.offset(x: theme.avatarShape == .circle ? 0 : 10,
y: theme.avatarShape == .circle ? 0 : -10)
}
}
Spacer()