Skip to content

Commit 6ffe68b

Browse files
committed
chore: swap USDC on network state change as well
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 097bccd commit 6ffe68b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/flipcash/shared/session/src/main/kotlin/com/flipcash/app/session/internal/RealSessionController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ class RealSessionController @Inject constructor(
199199
.onEach {
200200
if (userManager.authState.isAtLeastRegistered) {
201201
updateUserFlags()
202+
swapUsdcIfNeeded()
202203
}
203204
}.launchIn(scope)
204205
}

0 commit comments

Comments
 (0)