mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-05 21:33:34 +01:00
Move dark image detection back to background queue
This commit is contained in:
parent
0f5210d92f
commit
3dd533ed0d
@ -16,7 +16,7 @@ final class AvatarView: UIView {
|
||||
imageView.image = image
|
||||
|
||||
if self.traitCollection.userInterfaceStyle == .dark {
|
||||
DispatchQueue.global(qos: .default).async {
|
||||
DispatchQueue.global(qos: .background).async {
|
||||
if self.image?.isDark() ?? false {
|
||||
DispatchQueue.main.async {
|
||||
self.isDisconcernable = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user