From 1389e50b8eea997907bb38f97b29679c2c9110f8 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 22 Jun 2023 14:13:02 +0200 Subject: [PATCH] fix some warnings --- damus/Views/Notifications/EventGroupView.swift | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/damus/Views/Notifications/EventGroupView.swift b/damus/Views/Notifications/EventGroupView.swift index e4345a2d..244128ee 100644 --- a/damus/Views/Notifications/EventGroupView.swift +++ b/damus/Views/Notifications/EventGroupView.swift @@ -16,14 +16,10 @@ enum EventGroupType { var is_note_zap: Bool { switch self { - case .repost(let eventGroup): - return false - case .reaction(let eventGroup): - return false - case .zap(let zapGroup): - return true - case .profile_zap(let zapGroup): - return false + case .repost: return false + case .reaction: return false + case .zap: return true + case .profile_zap: return false } }