patch show quick action

This commit is contained in:
cheykrym 2025-12-13 04:45:38 +03:00
parent feed384cf1
commit a66eb04489

View File

@ -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
}