mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Added fail-safe
This commit is contained in:
@@ -502,7 +502,11 @@ public class FragmentCompose extends FragmentBase {
|
||||
@Override
|
||||
public void onFocusChange(View v, boolean hasFocus) {
|
||||
if (!hasFocus)
|
||||
updateEncryption((EntityIdentity) spIdentity.getSelectedItem());
|
||||
try {
|
||||
updateEncryption((EntityIdentity) spIdentity.getSelectedItem());
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user