Simplifications

This commit is contained in:
M66B
2019-06-23 10:28:33 +02:00
parent 6fb436155a
commit 935d2f0e60
2 changed files with 6 additions and 7 deletions

View File

@@ -123,8 +123,7 @@ public class EntityOperation {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean autoread = prefs.getBoolean("autoread", false);
if (jargs.length() > 1)
autoread = (autoread && jargs.getBoolean(1));
autoread = (autoread && jargs.optBoolean(1, true));
jargs.put(1, autoread);
EntityFolder source = db.folder().getFolder(message.folder);