Skip to content

Commit e6324c3

Browse files
authored
Merge pull request Expensify#68955 from allgandalf/fix/66371
[No QA]: Remove Onyx.connect() for the key: ONYXKEYS.HYBRID_APP in src/libs/Notification/PushNotification/subscribeToPushNotifications.ts
2 parents 5b9e374 + b4442eb commit e6324c3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/libs/Notification/PushNotification/subscribeToPushNotifications.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Onyx.connectWithoutView({
4242
});
4343

4444
let isSingleNewDotEntry: boolean | undefined;
45-
Onyx.connect({
45+
// Hybrid app config is not determined by changes in the UI, so we can use `connectWithoutView` here.
46+
Onyx.connectWithoutView({
4647
key: ONYXKEYS.HYBRID_APP,
4748
callback: (value) => {
4849
if (!value) {

0 commit comments

Comments
 (0)