bug修改 - 不多次接受 结果
This commit is contained in:
parent
b3fb4f0327
commit
cd85982048
|
|
@ -209,7 +209,6 @@ class WithDrawActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
||||||
|
|
||||||
private fun requestInit(withdrawNum: Float) {
|
private fun requestInit(withdrawNum: Float) {
|
||||||
lifecycleScope.launch {
|
lifecycleScope.launch {
|
||||||
repeatOnLifecycle(Lifecycle.State.STARTED) {
|
|
||||||
viewModel.InitData.collect { result ->
|
viewModel.InitData.collect { result ->
|
||||||
when (result) {
|
when (result) {
|
||||||
is Result.Loading -> {
|
is Result.Loading -> {
|
||||||
|
|
@ -249,7 +248,6 @@ class WithDrawActivity : AppViewsEmptyViewModelActivity<ViewBinding>() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
viewModel.withdrawInit()
|
viewModel.withdrawInit()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue