Updated on 2026-08-14
This commit is contained in:
parent
acf110dbcc
commit
6910f74fd9
242 changed files with 866 additions and 732 deletions
|
|
@ -52,7 +52,7 @@ internal class SetButtonsStateTransformer(
|
|||
iconRes = R.drawable.ic_tangem_24.takeIf { prevState.showColdWalletInteractionIcon },
|
||||
isDimmed = isPrimaryButtonDisabled,
|
||||
isIconVisible = isIconVisible,
|
||||
showProgress = isInProgress,
|
||||
shouldShowProgress = isInProgress,
|
||||
isEnabled = prevState.isButtonEnabled(),
|
||||
onClick = {
|
||||
if (isPrimaryButtonDisabled) {
|
||||
|
|
@ -70,7 +70,7 @@ internal class SetButtonsStateTransformer(
|
|||
iconRes = R.drawable.ic_back_24,
|
||||
isSecondary = true,
|
||||
isIconVisible = true,
|
||||
showProgress = false,
|
||||
shouldShowProgress = false,
|
||||
isEnabled = true,
|
||||
onClick = prevState.clickIntents::onPrevClick,
|
||||
).takeIf { prevState.currentStep.isPrevButtonVisible() }
|
||||
|
|
@ -82,7 +82,7 @@ internal class SetButtonsStateTransformer(
|
|||
iconRes = R.drawable.ic_web_24,
|
||||
isSecondary = true,
|
||||
isIconVisible = true,
|
||||
showProgress = false,
|
||||
shouldShowProgress = false,
|
||||
isEnabled = true,
|
||||
onClick = prevState.clickIntents::onExploreClick,
|
||||
) to NavigationButton(
|
||||
|
|
@ -90,7 +90,7 @@ internal class SetButtonsStateTransformer(
|
|||
iconRes = R.drawable.ic_share_24,
|
||||
isSecondary = true,
|
||||
isIconVisible = true,
|
||||
showProgress = false,
|
||||
shouldShowProgress = false,
|
||||
isEnabled = true,
|
||||
onClick = prevState.clickIntents::onShareClick,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ internal class SetApprovalBottomSheetInProgressTransformer(
|
|||
config.copy(
|
||||
data = config.data.copy(
|
||||
approveButton = config.data.approveButton.copy(
|
||||
enabled = false,
|
||||
loading = true,
|
||||
isEnabled = false,
|
||||
isLoading = true,
|
||||
),
|
||||
cancelButton = config.data.cancelButton.copy(
|
||||
enabled = false,
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ internal class ShowApprovalBottomSheetTransformer(
|
|||
wrappedList(feeCryptoValue, feeFiatValue),
|
||||
),
|
||||
approveButton = ApprovePermissionButton(
|
||||
enabled = true,
|
||||
loading = false,
|
||||
isEnabled = true,
|
||||
isLoading = false,
|
||||
onClick = prevState.clickIntents::onApprovalClick,
|
||||
),
|
||||
cancelButton = CancelPermissionButton(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue