Updated on 2026-08-14
This commit is contained in:
parent
fce1d0aed0
commit
37fc177339
4 changed files with 18 additions and 6 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package com.tangem.tap.common.redux
|
||||
|
||||
import com.tangem.common.extensions.VoidCallback
|
||||
import com.tangem.tap.features.wallet.redux.AddressData
|
||||
import com.tangem.tap.features.wallet.redux.Currency
|
||||
|
||||
|
|
@ -9,8 +10,8 @@ import com.tangem.tap.features.wallet.redux.Currency
|
|||
interface StateDialog
|
||||
|
||||
sealed class AppDialog : StateDialog {
|
||||
data class SimpleOkDialog(val header: String, val message: String) : AppDialog()
|
||||
data class SimpleOkDialogRes(val headerId: Int, val messageId: Int) : AppDialog()
|
||||
data class SimpleOkDialog(val header: String, val message: String, val onOk: VoidCallback? = null) : AppDialog()
|
||||
data class SimpleOkDialogRes(val headerId: Int, val messageId: Int, val onOk: VoidCallback? = null) : AppDialog()
|
||||
object ScanFailsDialog : AppDialog()
|
||||
data class AddressInfoDialog(
|
||||
val currency: Currency,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue