From a66eb0448949a97922c9dcaea2876f1e52c923a5 Mon Sep 17 00:00:00 2001 From: cheykrym Date: Sat, 13 Dec 2025 04:45:38 +0300 Subject: [PATCH] patch show quick action --- yobble/Views/Chat/MessageProfileView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/yobble/Views/Chat/MessageProfileView.swift b/yobble/Views/Chat/MessageProfileView.swift index 7533f8f..994dd12 100644 --- a/yobble/Views/Chat/MessageProfileView.swift +++ b/yobble/Views/Chat/MessageProfileView.swift @@ -676,9 +676,13 @@ struct MessageProfileView: View { formatted ) } - + private var shouldShowRelationshipQuickActions: Bool { + if isDeletedUser { return false } + guard let relationship = currentChatProfile?.relationship else { return false } + + // показываем только если НЕ в контактах return !relationship.isTargetInContactsOfCurrentUser }