Updated on 2026-08-14
This commit is contained in:
parent
72135d480f
commit
5fcea67900
1 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ internal class ChooseManagedTokensModel @Inject constructor(
|
||||||
modelScope.launch {
|
modelScope.launch {
|
||||||
manageTokensListManager.launchPagination(
|
manageTokensListManager.launchPagination(
|
||||||
source = ManageTokensSource.SEND_VIA_SWAP,
|
source = ManageTokensSource.SEND_VIA_SWAP,
|
||||||
userWalletId = null,
|
userWalletId = params.userWalletId,
|
||||||
isCollapsed = false,
|
isCollapsed = false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -163,7 +163,7 @@ internal class ChooseManagedTokensModel @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.sample(periodMillis = 1_000)
|
.sample(periodMillis = 1_000)
|
||||||
.onEach { query -> manageTokensListManager.search(userWalletId = null, query = query) }
|
.onEach { query -> manageTokensListManager.search(userWalletId = params.userWalletId, query = query) }
|
||||||
.launchIn(modelScope)
|
.launchIn(modelScope)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -310,7 +310,7 @@ internal class ChooseManagedTokensModel @Inject constructor(
|
||||||
if (state.readContent.isInitialBatchLoading || state.readContent.isNextBatchLoading) return false
|
if (state.readContent.isInitialBatchLoading || state.readContent.isNextBatchLoading) return false
|
||||||
|
|
||||||
modelScope.launch {
|
modelScope.launch {
|
||||||
manageTokensListManager.loadMore(userWalletId = null, query = state.readContent.search.query)
|
manageTokensListManager.loadMore(userWalletId = params.userWalletId, query = state.readContent.search.query)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue