Updated on 2026-08-14

This commit is contained in:
Tangem 2025-04-14 12:12:25 +05:00
parent fc4c7ef9ab
commit cb04ddc533
21 changed files with 325 additions and 269 deletions

View file

@ -240,6 +240,6 @@ internal class WalletContentClickIntentsImplementor @Inject constructor(
}
override fun onNFTClick(userWalletId: UserWalletId) {
router.openNFTCollectionsScreen(userWalletId)
router.openNFT(userWalletId)
}
}

View file

@ -116,7 +116,7 @@ internal class DefaultWalletRouter @Inject constructor(
reduxStateHolder.dispatchDialogShow(StateDialog.ScanFailsDialog(StateDialog.ScanFailsSource.MAIN, onTryAgain))
}
override fun openNFTCollectionsScreen(userWalletId: UserWalletId) {
router.push(AppRoute.NFTCollections(userWalletId))
override fun openNFT(userWalletId: UserWalletId) {
router.push(AppRoute.NFT(userWalletId))
}
}

View file

@ -58,5 +58,5 @@ internal interface InnerWalletRouter {
fun openScanFailedDialog(onTryAgain: () -> Unit)
/** Open NFT collections screen */
fun openNFTCollectionsScreen(userWalletId: UserWalletId)
fun openNFT(userWalletId: UserWalletId)
}