[API/Librus] Fix for not clearing the grade category list

This commit is contained in:
Kuba Szczodrzyński 2019-10-09 18:20:54 +02:00
parent 57a70aa777
commit 015416f2a8

View File

@ -1936,7 +1936,7 @@ public class Librus implements EdziennikInterface {
return; return;
} }
// not a full sync. Will get all grade categories. Clear the current list. // not a full sync. Will get all grade categories. Clear the current list.
gradeCategoryList.clear(); //gradeCategoryList.clear();
callback.onActionStarted(R.string.sync_action_syncing_grade_categories); callback.onActionStarted(R.string.sync_action_syncing_grade_categories);
apiRequest("Grades/Categories", data -> { apiRequest("Grades/Categories", data -> {