Skip to content

Commit

Permalink
fix: dummy states
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed Oct 14, 2024
1 parent c6d4933 commit 09952ae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ final class SessionBloc extends Bloc<SessionEvent, SessionState> {
await _keychain.setLockAndBeginWith(
seedPhrase: _dummySeedPhrase,
unlockFactor: _dummyUnlockFactor,
unlocked: false,
);

emit(const GuestSessionState());
Expand All @@ -72,10 +73,9 @@ final class SessionBloc extends Bloc<SessionEvent, SessionState> {
await _keychain.setLockAndBeginWith(
seedPhrase: _dummySeedPhrase,
unlockFactor: _dummyUnlockFactor,
unlocked: true,
);

await _keychain.unlock(_dummyUnlockFactor);

emit(ActiveUserSessionState(user: _dummyUser));
}

Expand Down

0 comments on commit 09952ae

Please sign in to comment.