mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Remember last used encryption method per identity
This commit is contained in:
@@ -145,6 +145,11 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
|
||||
sb.append(", ");
|
||||
sb.append(identity.sign_key_alias);
|
||||
}
|
||||
if (identity.encrypt == 1) {
|
||||
if (sb.length() != 0)
|
||||
sb.append(", ");
|
||||
sb.append("S/MIME");
|
||||
}
|
||||
|
||||
tvSignKeyId.setText(context.getString(R.string.title_sign_key, sb.toString()));
|
||||
tvSignKeyId.setVisibility(sb.length() > 0 ? View.VISIBLE : View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user