Updated on 2026-08-14
This commit is contained in:
parent
b99d91f31b
commit
bdb8389c3f
8 changed files with 19 additions and 7 deletions
|
|
@ -37,8 +37,8 @@ class AddressInfoBottomSheetDialog(
|
|||
context.copyToClipboard(data.address)
|
||||
stateDialog.onCopyAddress()
|
||||
}
|
||||
btn_fl_explore.setOnClickListener {
|
||||
stateDialog.onExploreAddress()
|
||||
btn_fl_share.setOnClickListener {
|
||||
stateDialog.onShareAddress()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -138,7 +138,7 @@ private fun handleNoteAction(action: Action, dispatch: DispatchFunction) {
|
|||
val appDialog = AppDialog.AddressInfoDialog(
|
||||
addressData,
|
||||
onCopyAddress = { store.dispatchToastNotification(addressWasCopied) },
|
||||
onExploreAddress = { store.dispatchOpenUrl(addressData.exploreUrl) }
|
||||
onShareAddress = { store.dispatchShare(addressData.shareUrl) }
|
||||
)
|
||||
store.dispatchDialogShow(appDialog)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@ private fun handle(action: Action, dispatch: DispatchFunction) {
|
|||
val appDialog = AppDialog.AddressInfoDialog(
|
||||
addressData,
|
||||
onCopyAddress = { store.dispatchToastNotification(addressWasCopied) },
|
||||
onExploreAddress = { store.dispatchOpenUrl(addressData.exploreUrl) }
|
||||
onShareAddress = { store.dispatchShare(addressData.shareUrl) }
|
||||
)
|
||||
store.dispatchDialogShow(appDialog)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue