Updated on 2026-08-14
This commit is contained in:
parent
947ad15975
commit
78996521c6
3 changed files with 4 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit a494a9b49335d891dc5836d478c843432a857621
|
||||
Subproject commit 7ae8d8956605c444a46a5b15cfa0a11cb595ca9f
|
||||
|
|
@ -31,13 +31,13 @@ internal data class TokenDetailsDialogConfig(
|
|||
)
|
||||
|
||||
data class ConfirmHideConfig(
|
||||
val currencySymbol: String,
|
||||
val currencyTitle: String,
|
||||
val onConfirmClick: () -> Unit,
|
||||
val onCancelClick: () -> Unit,
|
||||
) : DialogContentConfig() {
|
||||
override val title: TextReference = TextReference.Res(
|
||||
id = R.string.token_details_hide_alert_title,
|
||||
formatArgs = wrappedList(currencySymbol),
|
||||
formatArgs = wrappedList(currencyTitle),
|
||||
)
|
||||
|
||||
override val message: TextReference = TextReference.Res(R.string.token_details_hide_alert_message)
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ internal class TokenDetailsStateFactory(
|
|||
isShow = true,
|
||||
onDismissRequest = clickIntents::onDismissDialog,
|
||||
content = TokenDetailsDialogConfig.DialogContentConfig.ConfirmHideConfig(
|
||||
currencySymbol = currency.symbol,
|
||||
currencyTitle = currency.name,
|
||||
onConfirmClick = clickIntents::onHideConfirmed,
|
||||
onCancelClick = clickIntents::onDismissDialog,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue