diff --git a/app/src/main/java/com/debk007/template/model/ProductDetailsDTO.kt b/app/src/main/java/com/debk007/template/model/ProductDetailsDto.kt similarity index 100% rename from app/src/main/java/com/debk007/template/model/ProductDetailsDTO.kt rename to app/src/main/java/com/debk007/template/model/ProductDetailsDto.kt diff --git a/app/src/main/java/com/debk007/template/presentation/viewmodel/HomeViewModel.kt b/app/src/main/java/com/debk007/template/presentation/viewmodel/HomeViewModel.kt index f4d3f3f..4b2a562 100644 --- a/app/src/main/java/com/debk007/template/presentation/viewmodel/HomeViewModel.kt +++ b/app/src/main/java/com/debk007/template/presentation/viewmodel/HomeViewModel.kt @@ -20,7 +20,7 @@ class HomeViewModel @Inject constructor( // TODO: Set UI State private val _productDetailsState: MutableState> = - mutableStateOf(ApiState.Loading()) + mutableStateOf(ApiState.Loading) val productDetailsState: State> get() = _productDetailsState init {