BreaktimerInfo -> PomodoroTimerInfo
This commit is contained in:
parent
38b582ead9
commit
b3651bbbe5
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ package be.ugent.sel.studeez.data.local.models.timer_info
|
||||||
import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalPomodoroTimer
|
import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalPomodoroTimer
|
||||||
import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalTimer
|
import be.ugent.sel.studeez.data.local.models.timer_functional.FunctionalTimer
|
||||||
|
|
||||||
class BreakTimerInfo(
|
class PomodoroTimerInfo(
|
||||||
name: String,
|
name: String,
|
||||||
description: String,
|
description: String,
|
||||||
private val studyTime: Int,
|
private val studyTime: Int,
|
|
@ -30,7 +30,7 @@ class ToTimerConverter {
|
||||||
it.studyTime,
|
it.studyTime,
|
||||||
it.id
|
it.id
|
||||||
) },
|
) },
|
||||||
TimerType.BREAK to TimerFactory { BreakTimerInfo(
|
TimerType.BREAK to TimerFactory { PomodoroTimerInfo(
|
||||||
it.name,
|
it.name,
|
||||||
it.description,
|
it.description,
|
||||||
it.studyTime,
|
it.studyTime,
|
||||||
|
|
Reference in a new issue