From 015416f2a88eaf8296a8986ca7a3c7b65e09ab88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Wed, 9 Oct 2019 18:20:54 +0200 Subject: [PATCH] [API/Librus] Fix for not clearing the grade category list --- .../main/java/pl/szczodrzynski/edziennik/data/api/Librus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/Librus.java b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/Librus.java index ff04e59e..860219a7 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/Librus.java +++ b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/Librus.java @@ -1936,7 +1936,7 @@ public class Librus implements EdziennikInterface { return; } // 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); apiRequest("Grades/Categories", data -> {