Update OLED theme

This commit is contained in:
Nguyễn Đạt 2024-02-25 11:03:45 +07:00 committed by GitHub
parent e69957ea5e
commit 1c8af4daa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,6 +135,7 @@ UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:
- (void)didMoveToWindow {
%orig;
if (IS_DARK_APPEARANCE_ENABLED && [self.nextResponder isKindOfClass:%c(_ASDisplayView)]) {
self.superview.backgroundColor = [UIColor blackColor];
self.backgroundColor = [UIColor clearColor];
}
}