package com.dano.test1.questionnaire

import com.dano.test1.LanguageManager

object SpinnerAnswerRules {

    fun chooseAnswerPrompt(languageId: String): String =
        LanguageManager.getText(languageId, "choose_answer")

    fun isUnselected(languageId: String, selected: String?): Boolean {
        val prompt = chooseAnswerPrompt(languageId)
        return selected.isNullOrEmpty() || selected == prompt
    }
}
