Commit db712eef authored by fallenstardust's avatar fallenstardust

fix

parent 6fb5e66b
...@@ -370,7 +370,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte ...@@ -370,7 +370,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
//region load deck //region load deck
private void loadDeckFromFile(File file) { private void loadDeckFromFile(File file) {
if (!mCardLoader.isOpen() || file == null || !file.exists()) { if (!mCardLoader.isOpen() || file == null || !file.exists()) {
setCurDeck(new DeckInfo(), file.getParent().equals(mSettings.getPackDeckDir()) ? true : false); setCurDeck(new DeckInfo(), false);
return; return;
} }
DialogPlus dlg = DialogPlus.show(getContext(), null, getString(R.string.loading)); DialogPlus dlg = DialogPlus.show(getContext(), null, getString(R.string.loading));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment