Skip to content

Commit

Permalink
Change viewmodel and uimodel visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
chouaibMo committed Oct 7, 2024
1 parent 0090c4d commit 283d222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import kotlinx.datetime.LocalDate
* @param dates List of [LocalDate] to display in the calendar.
* @param selectedDate The selected [LocalDate] in the calendar. By default it is the current date.
*/
data class RowKalendarUiModel(
internal data class RowKalendarUiModel(
val isLoading: Boolean = false,
val dates: List<LocalDate> = listOf(),
val selectedDate: LocalDate = LocalDate.now(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import kotlinx.datetime.plus
private const val DAYS_TO_LOAD = 30
private const val MAX_DAYS_TO_LOAD = 365

class RowKalendarViewModel : ViewModel() {
internal class RowKalendarViewModel : ViewModel() {

val uiState: MutableState<RowKalendarUiModel> = mutableStateOf(RowKalendarUiModel())

Expand Down

0 comments on commit 283d222

Please sign in to comment.