Fix Swift compile error: add break statements to empty switch cases

This commit is contained in:
jack
2025-07-07 00:04:11 +02:00
parent 2540928387
commit 30f548eb73
+2
View File
@@ -1038,8 +1038,10 @@ class ChatViewModel: ObservableObject {
readReceiptsSent += 1
case .read:
// Already read, no need to send another receipt
break
default:
// Message not yet delivered, can't mark as read
break
}
} else {
// No delivery status - this might be an older message