Updated on 2026-08-14

This commit is contained in:
Tangem 2025-01-09 11:45:37 +03:00
parent 477a3c11dd
commit 88a80a7d3a
49 changed files with 68 additions and 70 deletions

View file

@ -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),
)
}

View file

@ -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,