mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-04 10:39:25 +00:00
Small improvements
This commit is contained in:
parent
ef1683e70c
commit
16691c2e3d
2 changed files with 3 additions and 1 deletions
|
@ -810,7 +810,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
public void onDestroyView() {
|
||||
adapter = null;
|
||||
|
||||
if (pgpService != null)
|
||||
if (pgpService != null && pgpService.isBound())
|
||||
pgpService.unbindFromService();
|
||||
|
||||
super.onDestroyView();
|
||||
|
@ -1894,6 +1894,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
onPgp(intent);
|
||||
} else if (result instanceof PendingIntent)
|
||||
try {
|
||||
ToastEx.makeText(getContext(), R.string.title_user_interaction, Toast.LENGTH_SHORT).show();
|
||||
PendingIntent pi = (PendingIntent) result;
|
||||
startIntentSenderForResult(
|
||||
pi.getIntentSender(),
|
||||
|
|
|
@ -737,6 +737,7 @@
|
|||
<string name="title_decrypt">Decrypt</string>
|
||||
<string name="title_resync">Resync</string>
|
||||
<string name="title_no_openpgp">OpenKeychain not found</string>
|
||||
<string name="title_user_interaction">Transferring to OpenKeychain</string>
|
||||
<string name="title_not_encrypted">Message is not signed or encrypted</string>
|
||||
<string name="title_reset_sign_key">Reset sign key</string>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue