minor improvement on theme change

pull/531/head
Ryan Zhao 3 years ago
parent 10aa3c7fee
commit 5a7fabf216

@ -90,7 +90,9 @@ class BaseVC : UIViewController {
}
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
// NotificationCenter.default.post(name: .appModeChanged, object: nil)
if LKAppModeUtilities.isSystemDefault {
NotificationCenter.default.post(name: .appModeChanged, object: nil)
}
}
@objc internal func handleAppModeChangedNotification(_ notification: Notification) {

Loading…
Cancel
Save