Updated on 2026-08-14

This commit is contained in:
Tangem 2023-04-25 10:25:00 +03:00
parent cf6a14d262
commit d2b6c524ef

View file

@ -47,6 +47,8 @@ class SingleWalletView : WalletView() {
}
private fun showSingleWalletView(binding: FragmentWalletBinding) = with(binding) {
watchedPrimaryWalletForAddressCard = null
watchedPrimaryWalletForBalance = null
lSaltPayWallet.root.hide()
tvTwinCardNumber.hide()
rvMultiwallet.hide()
@ -66,6 +68,12 @@ class SingleWalletView : WalletView() {
setupTransactionsRecyclerView()
}
override fun onDestroyFragment() {
super.onDestroyFragment()
watchedPrimaryWalletForAddressCard = null
watchedPrimaryWalletForBalance = null
}
private fun setupTransactionsRecyclerView() {
val fragment = fragment ?: return
pendingTransactionAdapter = PendingTransactionsAdapter()