patch show quick action

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

View File

@ -678,7 +678,11 @@ struct MessageProfileView: View {
} }
private var shouldShowRelationshipQuickActions: Bool { private var shouldShowRelationshipQuickActions: Bool {
if isDeletedUser { return false }
guard let relationship = currentChatProfile?.relationship else { return false } guard let relationship = currentChatProfile?.relationship else { return false }
// показываем только если НЕ в контактах
return !relationship.isTargetInContactsOfCurrentUser return !relationship.isTargetInContactsOfCurrentUser
} }