diff options
Diffstat (limited to 'wallet/src/main/java/net/taler/wallet/peer/OutgoingPullFragment.kt')
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/peer/OutgoingPullFragment.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullFragment.kt b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullFragment.kt index b61707e..79ab542 100644 --- a/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullFragment.kt +++ b/wallet/src/main/java/net/taler/wallet/peer/OutgoingPullFragment.kt @@ -28,10 +28,10 @@ import androidx.lifecycle.lifecycleScope import androidx.lifecycle.repeatOnLifecycle import androidx.navigation.fragment.findNavController import kotlinx.coroutines.launch -import kotlinx.serialization.json.Json import net.taler.common.Amount import net.taler.wallet.MainViewModel import net.taler.wallet.R +import net.taler.wallet.backend.BackendManager import net.taler.wallet.balances.ScopeInfo import net.taler.wallet.compose.TalerSurface import net.taler.wallet.compose.collectAsStateLifecycleAware @@ -53,7 +53,7 @@ class OutgoingPullFragment : Fragment() { Amount.fromJSONString(it) } ?: error("no amount passed") val scopeInfo: ScopeInfo? = arguments?.getString("scopeInfo")?.let { - Json.decodeFromString(it) + BackendManager.json.decodeFromString(it) } val spec = scopeInfo?.let { balanceManager.getSpecForScopeInfo(it) } |