0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00

Merge pull request #577 from agrueneberg/remove-unused-currdid

Remove unused currDid variable
This commit is contained in:
Tim Rae 2014-10-25 13:06:42 +09:00
commit e8c6e5be8c

View File

@ -1410,7 +1410,6 @@ public class DeckPicker extends NavigationDrawerActivity implements OnShowcaseEv
String currentMessage;
long countUp;
long countDown;
long currDid;
boolean colIsEmpty;
@ -1440,12 +1439,6 @@ public class DeckPicker extends NavigationDrawerActivity implements OnShowcaseEv
col = getCol();
}
colIsEmpty = col.isEmpty();
// store current did so we can reselect deck properly after sync
try {
currDid = col.getDecks().current().getLong("id");
} catch (JSONException e) {
throw new RuntimeException();
}
}