From 2a05b6d326fc86a20a6b28fcfad6403cafdff068 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 9 Jun 2021 19:18:54 -0400 Subject: [PATCH] Add pointer hover effects to compose poll buttons --- Tusker/Screens/Compose/ComposePollView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tusker/Screens/Compose/ComposePollView.swift b/Tusker/Screens/Compose/ComposePollView.swift index 87f5efb4..27325bc3 100644 --- a/Tusker/Screens/Compose/ComposePollView.swift +++ b/Tusker/Screens/Compose/ComposePollView.swift @@ -46,6 +46,7 @@ struct ComposePollView: View { } .accentColor(buttonForegroundColor) .background(Circle().foregroundColor(buttonBackgroundColor)) + .hoverEffect() } ForEach(Array(poll.options.enumerated()), id: \.element.id) { (e) in @@ -161,6 +162,7 @@ struct ComposePollOption: View { } .foregroundColor(poll.options.count == 1 ? .gray : .red) .disabled(poll.options.count == 1) + .hoverEffect() } }