Skip to content

Commit d995636

Browse files
committed
Update InvertColorsViewController.swift
1 parent b66d402 commit d995636

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Example/AccessibilitySnapshot/InvertColorsViewController.swift

+7-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,14 @@ final class InvertColorsViewController: AccessibilityViewController {
3333
view = View()
3434
}
3535

36+
override func viewDidLoad() {
37+
super.viewDidLoad()
38+
39+
updateStatusLabel()
40+
}
41+
3642
override func viewWillAppear(_ animated: Bool) {
37-
super.viewWillAppear(animated)
43+
super.viewWillAppear(animated)
3844

3945
notificationObserver = NotificationCenter.default.addObserver(
4046
forName: UIAccessibility.invertColorsStatusDidChangeNotification,

0 commit comments

Comments
 (0)