Fix font not resetting when logging out (#8670)
* Fix font not resetting when logging out * Adopt on_logged_in and on_logged_out into DispatcherAction * Add tests * Add copyright
This commit is contained in:
parent
f3b762c1a8
commit
d75e2f19c5
11 changed files with 97 additions and 39 deletions
|
@ -192,7 +192,7 @@ export default class DeviceListener {
|
|||
};
|
||||
|
||||
private onAction = ({ action }: ActionPayload) => {
|
||||
if (action !== "on_logged_in") return;
|
||||
if (action !== Action.OnLoggedIn) return;
|
||||
this.recheck();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue