Skip to content

Commit

Permalink
fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
war-in committed Nov 12, 2024
1 parent 4715fa3 commit 2acb28f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ function signInAfterTransitionFromOldDot(route: Route, hybridAppSettings: string
.then(() => Onyx.merge(ONYXKEYS.HYBRID_APP, hybridApp))
.then(() => Onyx.multiSet(newDotOnyxValues))
.then(() => {
if (!shouldRemoveDelegatedAccess) {
if (!hybridApp.shouldRemoveDelegatedAccess) {
return;
}
return Onyx.clear(KEYS_TO_PRESERVE_DELEGATE_ACCESS);
Expand Down
3 changes: 3 additions & 0 deletions src/types/onyx/HybridApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ type HybridApp = {

/** stores infromation if last log out was performed from OldDot */
loggedOutFromOldDot?: boolean;

/** */
shouldRemoveDelegatedAccess?: boolean;
};

export default HybridApp;

0 comments on commit 2acb28f

Please sign in to comment.