patch
This commit is contained in:
parent
2a12b1a00d
commit
7a7f2eec5e
@ -174,13 +174,17 @@ struct SettingsView: View {
|
|||||||
if messengerProfile != nil || isMessengerProfileLoading || messengerProfileError != nil {
|
if messengerProfile != nil || isMessengerProfileLoading || messengerProfileError != nil {
|
||||||
Section {
|
Section {
|
||||||
if let profile = messengerProfile {
|
if let profile = messengerProfile {
|
||||||
ProfileHeaderCardView(
|
NavigationLink(destination: EditProfileView()) {
|
||||||
avatar: messengerAvatar(for: profile),
|
ProfileHeaderCardView(
|
||||||
displayName: messengerDisplayName(for: profile),
|
avatar: messengerAvatar(for: profile),
|
||||||
presenceStatus: nil,
|
displayName: messengerDisplayName(for: profile),
|
||||||
statusTags: messengerStatusTags(for: profile),
|
presenceStatus: nil,
|
||||||
isOfficial: profile.isVerified
|
statusTags: messengerStatusTags(for: profile),
|
||||||
)
|
isOfficial: profile.isVerified
|
||||||
|
)
|
||||||
|
.contentShape(Rectangle()) // ← чтобы тап работал по всей площади
|
||||||
|
}
|
||||||
|
.buttonStyle(.plain) // ← чтобы не было system highlight
|
||||||
.listRowInsets(bannerRowInsets)
|
.listRowInsets(bannerRowInsets)
|
||||||
.listRowBackground(Color.clear)
|
.listRowBackground(Color.clear)
|
||||||
} else if isMessengerProfileLoading {
|
} else if isMessengerProfileLoading {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user