From bfde19caaf95d033d32d814eb38c00abdb1e5e3a Mon Sep 17 00:00:00 2001 From: lbarraga Date: Mon, 1 May 2023 17:52:40 +0200 Subject: [PATCH] making some fields public --- .../studeez/data/local/models/timer_info/CustomTimerInfo.kt | 2 +- .../studeez/data/local/models/timer_info/PomodoroTimerInfo.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/CustomTimerInfo.kt b/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/CustomTimerInfo.kt index b3ecea1..d88e39f 100644 --- a/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/CustomTimerInfo.kt +++ b/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/CustomTimerInfo.kt @@ -6,7 +6,7 @@ import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalTimer class CustomTimerInfo( name: String, description: String, - val studyTime: Int, + var studyTime: Int, id: String = "" ): TimerInfo(id, name, description) { diff --git a/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/PomodoroTimerInfo.kt b/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/PomodoroTimerInfo.kt index dbbb0be..6dd6797 100644 --- a/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/PomodoroTimerInfo.kt +++ b/app/src/main/java/be/ugent/sel/studeez/data/local/models/timer_info/PomodoroTimerInfo.kt @@ -7,8 +7,8 @@ import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalTimerVi class PomodoroTimerInfo( name: String, description: String, - val studyTime: Int, - val breakTime: Int, + var studyTime: Int, + var breakTime: Int, val repeats: Int, id: String = "" ): TimerInfo(id, name, description) {