File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
src/main/java/com/juarez/upaxdemo/ui Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ plugins {
1010
1111android {
1212 namespace " com.juarez.upaxdemo"
13- compileSdk 33
13+ compileSdk 34
1414
1515 defaultConfig {
1616 applicationId " com.juarez.upaxdemo"
17- minSdk 23
18- targetSdk 33
17+ minSdk 24
18+ targetSdk 34
1919 versionCode 1
2020 versionName " 1.0"
2121
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import com.juarez.upaxdemo.domain.models.Location
44
55sealed interface LocationsState {
66 data class Loading (val isLoading : Boolean ) : LocationsState
7- object Empty : LocationsState
7+ data object Empty : LocationsState
88 data class Error (val message : String ) : LocationsState
99 data class Success (val data : List <Location >) : LocationsState
1010}
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ package com.juarez.upaxdemo.ui.photo
22
33sealed interface SavePhotoState {
44 data class Loading (val isLoading : Boolean ) : SavePhotoState
5- object Success : SavePhotoState
5+ data object Success : SavePhotoState
66}
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ package com.juarez.upaxdemo.ui.photos
22
33sealed interface DeletePhotoState {
44 data class Loading (val isLoading : Boolean ) : DeletePhotoState
5- object Success : DeletePhotoState
6- object Empty : DeletePhotoState
5+ data object Success : DeletePhotoState
6+ data object Empty : DeletePhotoState
77}
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ sealed interface GetPhotosState {
66 data class Loading (val isLoading : Boolean ) : GetPhotosState
77 data class Success (val data : List <Photo >) : GetPhotosState
88 data class Error (val message : String ) : GetPhotosState
9- object Empty : GetPhotosState
9+ data object Empty : GetPhotosState
1010}
You can’t perform that action at this time.
0 commit comments