Commit e038aebf authored by fallenstardust's avatar fallenstardust

不要在每次打开云备份时就同步

parent 18e3e7c7
...@@ -119,19 +119,6 @@ public class DeckSquareMyDeckFragment extends Fragment { ...@@ -119,19 +119,6 @@ public class DeckSquareMyDeckFragment extends Fragment {
} }
}); });
/** 自动同步 */
VUiKit.defer().when(() -> {
return DeckSquareApiUtil.synchronizeDecksV2();
}).fail((e) -> {
YGOUtil.showTextToast("Sync decks fail", Toast.LENGTH_LONG);
LogUtil.i(TAG, "Sync decks fail" + e.getMessage());
}).done((result) -> {
String info = "sync decks: upload " + result.syncUpload.size() + ", download " + result.newDownload.size();
YGOUtil.showTextToast(info, Toast.LENGTH_LONG);
});
return binding.getRoot(); return binding.getRoot();
} }
......
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