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:
commit
e8c6e5be8c
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user