mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Fix event loop tracking crash.
This commit is contained in:
parent
10ced19841
commit
b7707a8a89
1 changed files with 3 additions and 1 deletions
|
@ -197,7 +197,9 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) darkModeChanged:(NSNotification *)aNotification {
|
- (void) darkModeChanged:(NSNotification *)aNotification {
|
||||||
|
Core::Sandbox::Instance().customEnterFromEventLoop([&] {
|
||||||
Core::App().domain().notifyUnreadBadgeChanged();
|
Core::App().domain().notifyUnreadBadgeChanged();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) screenIsLocked:(NSNotification *)aNotification {
|
- (void) screenIsLocked:(NSNotification *)aNotification {
|
||||||
|
|
Loading…
Add table
Reference in a new issue