Skip to content

Commit ff7b34d

Browse files
committed
Remove un-necesary prints
1 parent 7048a0e commit ff7b34d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)