]> git.ktnx.net Git - mobile-ledger.git/commitdiff
add icon to the dialog for choosing a template
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Feb 2021 17:15:07 +0000 (19:15 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Feb 2021 17:15:07 +0000 (19:15 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionFragment.java

index 8499d6f02f6ce886af876d7c3d7c14dd307f158a..055ebbb24eeaf537a43a62f225be175d12c940dc 100644 (file)
@@ -200,6 +200,7 @@ public class NewTransactionFragment extends QRScanCapableFragment {
         MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(requireContext());
         builder.setCancelable(true)
                .setTitle(R.string.choose_template_to_apply)
+               .setIcon(R.drawable.ic_baseline_auto_graph_24)
                .setSingleChoiceItems(cursor, -1, patternNameColumn, (dialog, which) -> {
                    applyPattern(matchingPatterns.get(which), matchedText);
                    dialog.dismiss();