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:
parent
381cd72e0e
commit
530b68f0e0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user