summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3d6624b)
avoids a possible huge delay in UI if the account list is being updated
ViewPropertyAnimator animator = arrow.animate();
acc.toggleExpanded();
ViewPropertyAnimator animator = arrow.animate();
acc.toggleExpanded();
- Data.profile.get().storeAccount(MLDB.getDatabase(), acc);
+ DbOpQueue.add("update accounts set expanded=? where name=? and profile=?",
+ new Object[]{acc.isExpanded(), acc.getName(), Data.profile.get().getUuid()
+ });
if (wasExpanded) {
Log.d("accounts", String.format("Collapsing account '%s'", acc.getName()));
if (wasExpanded) {
Log.d("accounts", String.format("Collapsing account '%s'", acc.getName()));