Added fail-safe

pull/209/head
M66B 2 years ago
parent a93d179839
commit 857c209912

@ -502,7 +502,11 @@ public class FragmentCompose extends FragmentBase {
@Override @Override
public void onFocusChange(View v, boolean hasFocus) { public void onFocusChange(View v, boolean hasFocus) {
if (!hasFocus) if (!hasFocus)
updateEncryption((EntityIdentity) spIdentity.getSelectedItem()); try {
updateEncryption((EntityIdentity) spIdentity.getSelectedItem());
} catch (Throwable ex) {
Log.e(ex);
}
} }
}; };

Loading…
Cancel
Save