patch
This commit is contained in:
parent
70115c5bff
commit
2a12b1a00d
@ -375,13 +375,18 @@ struct SettingsView: View {
|
|||||||
@ViewBuilder
|
@ViewBuilder
|
||||||
private var aboutSection: some View {
|
private var aboutSection: some View {
|
||||||
if let _ = messengerProfile {
|
if let _ = messengerProfile {
|
||||||
card {
|
Section(
|
||||||
VStack(spacing: 0) {
|
header: Spacer()
|
||||||
infoRow(
|
.frame(height: 16)
|
||||||
title: NSLocalizedString("Юзернейм", comment: ""),
|
.listRowInsets(EdgeInsets())
|
||||||
value: loginDisplay ?? NSLocalizedString("Неизвестный пользователь", comment: "Messenger settings unknown user")
|
){
|
||||||
)
|
card {
|
||||||
|
VStack(spacing: 0) {
|
||||||
|
infoRow(
|
||||||
|
title: NSLocalizedString("Юзернейм", comment: ""),
|
||||||
|
value: loginDisplay ?? NSLocalizedString("Неизвестный пользователь", comment: "Messenger settings unknown user")
|
||||||
|
)
|
||||||
|
|
||||||
if let membership = membershipDescription {
|
if let membership = membershipDescription {
|
||||||
rowDivider
|
rowDivider
|
||||||
infoRow(
|
infoRow(
|
||||||
@ -389,16 +394,17 @@ struct SettingsView: View {
|
|||||||
value: membership
|
value: membership
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
rowDivider
|
rowDivider
|
||||||
infoRow(
|
infoRow(
|
||||||
title: NSLocalizedString("Ваш рейтинг", comment: "Messenger settings rating title"),
|
title: NSLocalizedString("Ваш рейтинг", comment: "Messenger settings rating title"),
|
||||||
value: ratingDisplayValue
|
value: ratingDisplayValue
|
||||||
)
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.listRowInsets(aboutRowInsets)
|
||||||
|
.listRowBackground(Color.clear)
|
||||||
}
|
}
|
||||||
.listRowInsets(aboutRowInsets)
|
|
||||||
.listRowBackground(Color.clear)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user