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

Fix double reloading of counts via onResume of StudyOptionsFragment

This commit is contained in:
timrae 2014-10-24 07:25:32 +09:00
parent 381cd72e0e
commit 530b68f0e0

View File

@ -365,7 +365,8 @@ public class StudyOptionsFragment extends Fragment implements LoaderManager.Load
@Override
public void onResume() {
super.onResume();
if (colOpen()) {
if (colOpen() && !mFragmented) {
// If not in tablet mode then reload deck counts (reload is taken care of by DeckPicker when mFragmented)
if (Utils.now() > getCol().getSched().getDayCutoff()) {
updateValuesFromDeck(true);
} else {