diff options
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/transactions/TransactionDetailFragment.kt | 2 | ||||
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/transactions/TransactionsFragment.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/transactions/TransactionDetailFragment.kt b/wallet/src/main/java/net/taler/wallet/transactions/TransactionDetailFragment.kt index eef2fd3..94b9774 100644 --- a/wallet/src/main/java/net/taler/wallet/transactions/TransactionDetailFragment.kt +++ b/wallet/src/main/java/net/taler/wallet/transactions/TransactionDetailFragment.kt @@ -102,7 +102,7 @@ abstract class TransactionDetailFragment : Fragment() { AlertDialog.Builder(requireContext(), R.style.DialogTheme) .setTitle(deleteDialogTitle) .setMessage(deleteDialogMessage) - .setPositiveButton(R.string.cancel) { dialog, _ -> + .setNeutralButton(R.string.cancel) { dialog, _ -> dialog.cancel() } .setNegativeButton(deleteDialogButton) { dialog, _ -> diff --git a/wallet/src/main/java/net/taler/wallet/transactions/TransactionsFragment.kt b/wallet/src/main/java/net/taler/wallet/transactions/TransactionsFragment.kt index 1926217..e0344b3 100644 --- a/wallet/src/main/java/net/taler/wallet/transactions/TransactionsFragment.kt +++ b/wallet/src/main/java/net/taler/wallet/transactions/TransactionsFragment.kt @@ -232,7 +232,7 @@ class TransactionsFragment : Fragment(), OnTransactionClickListener, ActionMode. AlertDialog.Builder(requireContext(), R.style.DialogTheme) .setTitle(deleteDialogTitle) .setMessage(deleteDialogMessage) - .setPositiveButton(R.string.cancel) { dialog, _ -> + .setNeutralButton(R.string.cancel) { dialog, _ -> dialog.cancel() } .setNegativeButton(deleteDialogButton) { dialog, _ -> |