Small improvements

pull/171/head
M66B 5 years ago
parent ef1683e70c
commit 16691c2e3d

@ -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…
Cancel
Save