Skip to content

Commit 07f0064

Browse files
committed
Adjust animation
1 parent 2051e64 commit 07f0064

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Core/Sources/SuggestionWidget/WidgetView.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct WidgetView: View {
1616
var body: some View {
1717
WithViewStore(store, observe: { $0.isProcessing }) { viewStore in
1818
Circle()
19-
.fill(isHovering ? .white.opacity(0.8) : .white.opacity(0.3))
19+
.fill(isHovering ? .white.opacity(0.5) : .white.opacity(0.15))
2020
.onTapGesture {
2121
withAnimation(.easeInOut(duration: 0.2)) {
2222
store.send(.widgetClicked)
@@ -34,6 +34,11 @@ struct WidgetView: View {
3434
if !hideCircularWidget { return 1 }
3535
return viewStore.state ? 1 : 0
3636
}())
37+
.animation(
38+
featureFlag: \.animationCCrashSuggestion,
39+
.easeInOut(duration: 0.2),
40+
value: viewStore.state
41+
)
3742
}
3843
}
3944

0 commit comments

Comments
 (0)