Skip to content

Commit

Permalink
fix: trim address input and adjust conf dialog background (#1156)
Browse files Browse the repository at this point in the history
* fix: confirmation dialog backgrond

* fix: trim address input
  • Loading branch information
Syn-McJ authored Jul 12, 2023
1 parent ee7ca09 commit 3a37a66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class AddressInputFragment : Fragment(R.layout.fragment_address_input) {

private fun continueAction() {
lifecycleScope.launch {
val input = binding.addressInput.text.toString()
val input = binding.addressInput.text.toString().trim()

try {
val paymentIntent = PaymentIntentParser.parse(input, true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class ConfirmTransactionDialog(
}

private val binding by viewBinding(DialogConfirmTransactionBinding::bind)
override val backgroundStyle = R.style.PrimaryBackground

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.dialog_confirm_transaction, container, false)
Expand Down

0 comments on commit 3a37a66

Please sign in to comment.