Updated on 2026-08-14
This commit is contained in:
parent
477a3c11dd
commit
88a80a7d3a
49 changed files with 68 additions and 70 deletions
|
|
@ -254,7 +254,7 @@ internal class TokenDetailsStateFactory(
|
|||
): TokenDetailsState {
|
||||
return currentStateProvider().copy(
|
||||
bottomSheetConfig = TangemBottomSheetConfig(
|
||||
isShow = true,
|
||||
isShown = true,
|
||||
onDismissRequest = clickIntents::onDismissBottomSheet,
|
||||
content = TokenReceiveBottomSheetConfig(
|
||||
name = currency.name,
|
||||
|
|
@ -275,7 +275,7 @@ internal class TokenDetailsStateFactory(
|
|||
): TokenDetailsState {
|
||||
return currentStateProvider().copy(
|
||||
bottomSheetConfig = TangemBottomSheetConfig(
|
||||
isShow = true,
|
||||
isShown = true,
|
||||
onDismissRequest = clickIntents::onDismissBottomSheet,
|
||||
content = ChooseAddressBottomSheetConfig(
|
||||
addressModels = networkAddress.availableAddresses.mapToAddressModels(currency).toImmutableList(),
|
||||
|
|
@ -288,7 +288,7 @@ internal class TokenDetailsStateFactory(
|
|||
fun getStateWithClosedBottomSheet(): TokenDetailsState {
|
||||
val state = currentStateProvider()
|
||||
return state.copy(
|
||||
bottomSheetConfig = state.bottomSheetConfig?.copy(isShow = false),
|
||||
bottomSheetConfig = state.bottomSheetConfig?.copy(isShown = false),
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ internal class ExpressStatusFactory @AssistedInject constructor(
|
|||
|
||||
return currentStateProvider().copy(
|
||||
bottomSheetConfig = TangemBottomSheetConfig(
|
||||
isShow = true,
|
||||
isShown = true,
|
||||
onDismissRequest = clickIntents::onDismissBottomSheet,
|
||||
content = ExpressStatusBottomSheetConfig(
|
||||
value = expressState,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue