feat: dynamic theme update

This commit is contained in:
TrueZhuanjia
2025-09-18 16:53:17 +08:00
parent 1614bb0609
commit 60dacdf05f
8 changed files with 37 additions and 42 deletions
@@ -1548,6 +1548,7 @@ static NSMutableSet* hostList;
}
// Called when the system's theme (light/dark mode) changes
// will not be active if the app is streaming
- (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection {
[super traitCollectionDidChange:previousTraitCollection];
if (@available(iOS 13.0, *)) {