From 076b485fda2f63b9406a95c8806569e4f6d13ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Fri, 28 Aug 2020 23:27:34 +0200 Subject: [PATCH] [API] Enable back sync before school year. --- .../java/pl/szczodrzynski/edziennik/data/db/entity/Profile.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Profile.kt b/app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Profile.kt index eab4cb8b..0dbb8502 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Profile.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/data/db/entity/Profile.kt @@ -106,7 +106,7 @@ open class Profile( } return Date.getToday() >= dateYearEnd && Date.getToday().year > studentSchoolYearStart } - fun isBeforeYear() = Date.getToday() < dateSemester1Start + fun isBeforeYear() = false && Date.getToday() < dateSemester1Start var disabledNotifications: List? = null