Commit a478328c authored by fallenstardust's avatar fallenstardust

tweak

parent 54a77913
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
8.通过萌卡账号登录可以进行云备份管理; 8.通过萌卡账号登录可以进行云备份管理;
9.登录萌卡专页时自动登录云备份; 9.登录萌卡专页时自动登录云备份;
10.可以将云备份的卡组公开到卡组广场或者隐藏; 10.可以将云备份的卡组公开到卡组广场或者隐藏;
11.登录账号后定期同步本地和云备份卡组;
</pre> </pre>
<h3 style="color:#ff0000">注意</h3> <h3 style="color:#ff0000">注意</h3>
......
...@@ -394,6 +394,7 @@ public class DeckSelectFragment extends Fragment { ...@@ -394,6 +394,7 @@ public class DeckSelectFragment extends Fragment {
LogUtil.i(TAG, "Online deck deleted successfully"); LogUtil.i(TAG, "Online deck deleted successfully");
} }
}); });
break;
} }
} }
}); });
......
...@@ -225,7 +225,7 @@ public class DeckSquareApiUtil { ...@@ -225,7 +225,7 @@ public class DeckSquareApiUtil {
* @return * @return
* @throws IOException * @throws IOException
*/ */
private static PushDeckResponse pushDeck(DeckFile deckfile, LoginToken loginToken, String deckId) throws IOException { public static PushDeckResponse pushDeck(DeckFile deckfile, LoginToken loginToken, String deckId) throws IOException {
String deckContent = DeckSquareFileUtil.setDeckId(deckfile.getPath(), loginToken.getUserId(), deckId); String deckContent = DeckSquareFileUtil.setDeckId(deckfile.getPath(), loginToken.getUserId(), deckId);
PushDeckResponse result = null; PushDeckResponse result = null;
......
...@@ -944,6 +944,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte ...@@ -944,6 +944,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
YGOUtil.showTextToast(getContext().getString(R.string.done)); YGOUtil.showTextToast(getContext().getString(R.string.done));
} }
}); });
break;
} }
} }
}); });
...@@ -1345,7 +1346,6 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte ...@@ -1345,7 +1346,6 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
}).done((deckData) -> { }).done((deckData) -> {
if (deckData != null) { if (deckData != null) {
mDeckId = deckData.getDeckId(); mDeckId = deckData.getDeckId();
Log.w("seesee mDeckId", mDeckId);
deckData.getDeckYdk(); deckData.getDeckYdk();
String fileFullName = deckData.getDeckName() + ".ydk"; String fileFullName = deckData.getDeckName() + ".ydk";
File dir = new File(getActivity().getApplicationInfo().dataDir, "cache"); File dir = new File(getActivity().getApplicationInfo().dataDir, "cache");
......
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