mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(app): name mute and unread state accessors by intent (#1859)
This commit is contained in:
1 parent
52781cfa2d
commit
a2099fb0e2
33 files changed
+173
-490
No files matched your search
@@ -6,7 +6,7 @@ import Notification from '@app/features/ui/state/Notification';
|
||||
import Window from '@app/features/window/state/Window';
|
||||
|
||||
function applyFocusSideEffects(focused: boolean): void {
|
||||
GuildReadState.handleWindowFocus();
|
||||
GuildReadState.handleWindowFocused();
|
||||
Notification.handleWindowFocus({focused});
|
||||
if (focused) {
|
||||
Idle.recordActivity();
|
||||
|
||||
Reference in new issue
Block a user