Skip to content

Commit a13cdfc

Browse files
committed
Remove notice after tapping on it
1 parent 8048c71 commit a13cdfc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

WooCommerce/Classes/View Modifiers/View+NoticesModifier.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ struct NoticeModifier: ViewModifier {
2121
// NoticeView wrapper
2222
NoticeAlert(notice: notice, width: geometry.size.width)
2323
.fixedSize(horizontal: false, vertical: true)
24+
.onTapGesture {
25+
$notice.wrappedValue = nil // TODO: Test the retry button interference
26+
}
2427
}
2528
}
2629
)

0 commit comments

Comments
 (0)