diff --git a/apps/ios/Shared/Views/ChatList/ChatListNavLink.swift b/apps/ios/Shared/Views/ChatList/ChatListNavLink.swift index aa73faa2c..aea9fda6e 100644 --- a/apps/ios/Shared/Views/ChatList/ChatListNavLink.swift +++ b/apps/ios/Shared/Views/ChatList/ChatListNavLink.swift @@ -57,7 +57,9 @@ struct ChatListNavLink: View { } } .swipeActions(edge: .trailing, allowsFullSwipe: true) { - clearChatButton() + if !chat.chatItems.isEmpty { + clearChatButton() + } Button { AlertManager.shared.showAlert( contact.ready @@ -118,7 +120,9 @@ struct ChatListNavLink: View { } } .swipeActions(edge: .trailing, allowsFullSwipe: true) { - clearChatButton() + if !chat.chatItems.isEmpty { + clearChatButton() + } if (groupInfo.membership.memberCurrent) { Button { AlertManager.shared.showAlert(leaveGroupAlert(groupInfo))