From 7a7f2eec5ec24f0422ed9ccd4b2d7388d212e2cc Mon Sep 17 00:00:00 2001 From: cheykrym Date: Sat, 13 Dec 2025 02:30:25 +0300 Subject: [PATCH] patch --- yobble/Views/Tab/Settings/SettingsView.swift | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/yobble/Views/Tab/Settings/SettingsView.swift b/yobble/Views/Tab/Settings/SettingsView.swift index 6ca2811..83948ca 100644 --- a/yobble/Views/Tab/Settings/SettingsView.swift +++ b/yobble/Views/Tab/Settings/SettingsView.swift @@ -174,13 +174,17 @@ struct SettingsView: View { if messengerProfile != nil || isMessengerProfileLoading || messengerProfileError != nil { Section { if let profile = messengerProfile { - ProfileHeaderCardView( - avatar: messengerAvatar(for: profile), - displayName: messengerDisplayName(for: profile), - presenceStatus: nil, - statusTags: messengerStatusTags(for: profile), - isOfficial: profile.isVerified - ) + NavigationLink(destination: EditProfileView()) { + ProfileHeaderCardView( + avatar: messengerAvatar(for: profile), + displayName: messengerDisplayName(for: profile), + presenceStatus: nil, + statusTags: messengerStatusTags(for: profile), + isOfficial: profile.isVerified + ) + .contentShape(Rectangle()) // ← чтобы тап работал по всей площади + } + .buttonStyle(.plain) // ← чтобы не было system highlight .listRowInsets(bannerRowInsets) .listRowBackground(Color.clear) } else if isMessengerProfileLoading {