//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.projects.presentation/ProjectsComponent/UiState
UiState
[jvm]
data class UiState(val activeProject: ProjectModel? = null, val isEditing: Boolean = false, val currentLanguage: LanguageModel? = null)
UI state.
Constructors
UiState | [jvm] constructor(activeProject: ProjectModel? = null, isEditing: Boolean = false, currentLanguage: LanguageModel? = null) Create UiState |
Properties
Name | Summary |
---|---|
activeProject | [jvm] val activeProject: ProjectModel? = null Currently active (opened) project. |
currentLanguage | [jvm] val currentLanguage: LanguageModel? = null Currently selected language in the translation toolbar (if any). |
isEditing | [jvm] val isEditing: Boolean = false True if a message (Translation Unit) is being edited. |