diff options
Diffstat (limited to 'wallet/src/main/java/net')
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt b/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt index d6f7280..bb903c3 100644 --- a/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt +++ b/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt @@ -59,17 +59,19 @@ class SendFundsFragment : Fragment() { private val peerManager get() = model.peerManager override fun onCreateView( - inflater: LayoutInflater, container: ViewGroup?, + inflater: LayoutInflater, + container: ViewGroup?, savedInstanceState: Bundle?, ): View = ComposeView(requireContext()).apply { setContent { MdcTheme { Surface { SendFundsIntro( - model.transactionManager.selectedCurrency ?: error("No currency selected"), - model::hasSufficientBalance, - this@SendFundsFragment::onDeposit, - this@SendFundsFragment::onPeerPush, + currency = model.transactionManager.selectedCurrency + ?: error("No currency selected"), + hasSufficientBalance = model::hasSufficientBalance, + onDeposit = this@SendFundsFragment::onDeposit, + onPeerPush = this@SendFundsFragment::onPeerPush, ) } } |