package com.gitlab.artismarti.tinbo.start

/**
 * @author artur
 */
object ModeAdvicer {

    private var mode = Mode.START

    fun setTimerMode() {
        mode = Mode.TIMER
    }

    fun isTimerMode(): Boolean {
        return mode == Mode.TIMER
    }

    fun setStartMode() {
        mode = Mode.START
    }

    fun isStartMode(): Boolean {
        return mode == Mode.START
    }
}

Add the forgotten mode advicer
Add the forgotten mode advicer

arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo