Small improvement

pull/197/head
M66B 4 years ago
parent c717573886
commit b80ed6e939

@ -748,9 +748,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
int undo_timeout = prefs.getInt("undo_timeout", 5000); int undo_timeout = prefs.getInt("undo_timeout", 5000);
if (undo_timeout == 0) if (undo_timeout == 0) {
move.execute(this, args, "undo:move"); if (move != null)
else move.execute(this, args, "undo:move");
} else
undo(undo_timeout, title, args, move, show); undo(undo_timeout, title, args, move, show);
} }

Loading…
Cancel
Save