Skip to content

Commit

Permalink
Update src/libs/actions/App.js
Browse files Browse the repository at this point in the history
Co-authored-by: Rory Abraham <[email protected]>
  • Loading branch information
marcaaron and roryabraham authored Oct 12, 2023
1 parent 1ea9f28 commit 992ae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ let priorityMode;
Onyx.connect({
key: ONYXKEYS.NVP_PRIORITY_MODE,
callback: (nextPriorityMode) => {
// When someone switches their priority mode we need to fetch all their chats. This is only possible via the OpenApp command.
// When someone switches their priority mode we need to fetch all their chats because only #focus mode works with a subset of a user's chats. This is only possible via the OpenApp command.
if (nextPriorityMode === CONST.PRIORITY_MODE.DEFAULT && priorityMode === CONST.PRIORITY_MODE.GSD) {
// eslint-disable-next-line no-use-before-define
openApp();
Expand Down

0 comments on commit 992ae36

Please sign in to comment.