Texture icon indicating copy to clipboard operation
Texture copied to clipboard

Dark Mode not working with Texture

Open abbasnaqvi200 opened this issue 3 years ago • 1 comments

UIApplication.shared.windows.forEach { window in window.overrideUserInterfaceStyle = UIUserInterfaceStyle.currentMode } This code working for UIKit fine but when i go to Texture Classes like ASViewController/ASDisplayNode it stopped working If i toggle mode using system setting then it works fina

abbasnaqvi200 avatar Oct 22 '21 07:10 abbasnaqvi200

how abut using?:

UIColor(dynamicProvider: { (trait) -> UIColor in return trait.userInterfaceStyle == .dark ? UIColor(red: 0.35, green: 0.35, blue: 0.35, alpha: 1.00) : .white })

cendolinside123 avatar Aug 23 '23 06:08 cendolinside123