Added icon to OpenKeychain missing dialog

pull/212/head
M66B 2 years ago
parent fe424e89e7
commit 692625ee26

@ -1978,6 +1978,7 @@ public class FragmentCompose extends FragmentBase {
final Context context = getContext(); final Context context = getContext();
if (!Helper.isOpenKeychainInstalled(context)) { if (!Helper.isOpenKeychainInstalled(context)) {
new AlertDialog.Builder(context) new AlertDialog.Builder(context)
.setIcon(R.drawable.twotone_lock_24)
.setTitle(R.string.title_no_openpgp) .setTitle(R.string.title_no_openpgp)
.setMessage(R.string.title_no_openpgp_remark) .setMessage(R.string.title_no_openpgp_remark)
.setPositiveButton(R.string.title_info, new DialogInterface.OnClickListener() { .setPositiveButton(R.string.title_info, new DialogInterface.OnClickListener() {

Loading…
Cancel
Save