Skip to content

Commit

Permalink
Merge pull request #54705 from huult/54698-update-preserved-keys
Browse files Browse the repository at this point in the history
[CP Staging] update preserved keys

(cherry picked from commit 5375fb2)

(CP triggered by Beamanator)
  • Loading branch information
Beamanator authored and OSBotify committed Jan 2, 2025
1 parent 6a944f1 commit f2370aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/libs/actions/QueuedOnyxUpdates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ function flushQueue(): Promise<void> {
ONYXKEYS.IS_LOADING_APP,
ONYXKEYS.CREDENTIALS,
ONYXKEYS.IS_SIDEBAR_LOADED,
ONYXKEYS.ACCOUNT,
ONYXKEYS.IS_CHECKING_PUBLIC_ROOM,
ONYXKEYS.MODAL,
ONYXKEYS.NETWORK,
ONYXKEYS.SHOULD_SHOW_COMPOSE_INPUT,
ONYXKEYS.PRESERVED_USER_SESSION,
];

queuedOnyxUpdates = queuedOnyxUpdates.filter((update) => preservedKeys.includes(update.key as OnyxKey));
Expand Down

0 comments on commit f2370aa

Please sign in to comment.