Skip to content

Commit

Permalink
Merge pull request #1372 from WalletConnect/fix/events_are_not_collec…
Browse files Browse the repository at this point in the history
…ted_on_sample

fix:mobile linking flow on mobile browser
  • Loading branch information
jakubuid committed Apr 17, 2024
2 parents 8e72381 + e3f814b commit 085dcca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ class Web3WalletActivity : AppCompatActivity() {
connectionsViewModel: ConnectionsViewModel,
) {
web3walletViewModel.sessionRequestStateFlow
.flowWithLifecycle(lifecycle, Lifecycle.State.STARTED)
.onEach {
if (it.arrayOfArgs.isNotEmpty()) {
navController.navigate(Route.SessionRequest.path)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Web3WalletViewModel : ViewModel() {

else -> NoAction
}
}.shareIn(viewModelScope, SharingStarted.WhileSubscribed())
}.shareIn(viewModelScope, SharingStarted.Eagerly)

fun showLoader(isLoading: Boolean) {
_isLoadingFlow.value = isLoading
Expand Down

0 comments on commit 085dcca

Please sign in to comment.