commit 1389e50b8eea997907bb38f97b29679c2c9110f8 parent 092d84f4990e1841cdc609bf7fd4702166a09465 Author: William Casarin <jb55@jb55.com> Date: Thu, 22 Jun 2023 14:13:02 +0200 fix some warnings Diffstat:
M | 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 @@ -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 } }