Skip to content

Commit

Permalink
fix: initial hasTriedFocusMode
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispader committed Jun 5, 2024
1 parent 3105b2e commit e8d60aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/PriorityMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ Onyx.connect({
},
});

let hasTriedFocusMode: boolean | undefined;
let hasTriedFocusMode: boolean | null | undefined;
Onyx.connect({
key: ONYXKEYS.NVP_TRY_FOCUS_MODE,
callback: (val) => {
hasTriedFocusMode = val;
hasTriedFocusMode = val ?? null;

// eslint-disable-next-line @typescript-eslint/no-use-before-define
checkRequiredData();
Expand Down

0 comments on commit e8d60aa

Please sign in to comment.