File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
WooCommerce/Classes/View Modifiers Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -39,15 +39,12 @@ struct NoticeModifier: ViewModifier {
3939 // NoticeView wrapper
4040 NoticeAlert ( notice: notice, width: geometry. size. width)
4141 . onDismiss {
42- print ( " on dismiss " )
4342 performClearNoticeTask ( )
4443 }
4544 . onChange ( of: notice) { _ in
46- print ( " on change " )
4745 dispatchClearNoticeTask ( )
4846 }
4947 . onAppear {
50- print ( " on appear " )
5148 dispatchClearNoticeTask ( )
5249 }
5350
@@ -63,9 +60,7 @@ struct NoticeModifier: ViewModifier {
6360 clearNoticeTask. cancel ( )
6461 clearNoticeTask = . init {
6562 $notice. wrappedValue = nil
66- print ( " clear was performed " )
6763 }
68- print ( " on Dispatch " )
6964 DispatchQueue . main. asyncAfter ( deadline: . now( ) + onScreenNoticeTime, execute: clearNoticeTask)
7065 }
7166
You can’t perform that action at this time.
0 commit comments