Skip to content

Commit 712ba86

Browse files
authored
Update README.md
1 parent ee367c5 commit 712ba86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
class ViewController: UIViewController {
55

66
@IBAction func didTapOnButton(_ sender: Any) {
7-
Notify.showSuccsess(title: "Hello Bro\nHow are you!?") {
8-
self.view.backgroundColor = .systemPink
7+
Notify.showSuccsess(title: "Hello Bro\nHow are you!?") {[weak self] in
8+
self?.view.backgroundColor = .systemPink
99
}
1010
}
1111

0 commit comments

Comments
 (0)