Skip to content

Commit 9804a50

Browse files
author
RobertoJuarez
committed
⬆️ upgraded sdk version to 24
1 parent 98aea83 commit 9804a50

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ plugins {
1010

1111
android {
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

app/src/main/java/com/juarez/upaxdemo/ui/map/LocationsState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import com.juarez.upaxdemo.domain.models.Location
44

55
sealed 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
}

app/src/main/java/com/juarez/upaxdemo/ui/photo/SavePhotoState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ package com.juarez.upaxdemo.ui.photo
22

33
sealed interface SavePhotoState {
44
data class Loading(val isLoading: Boolean) : SavePhotoState
5-
object Success : SavePhotoState
5+
data object Success : SavePhotoState
66
}

app/src/main/java/com/juarez/upaxdemo/ui/photos/DeletePhotoState.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ package com.juarez.upaxdemo.ui.photos
22

33
sealed 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
}

app/src/main/java/com/juarez/upaxdemo/ui/photos/GetPhotosState.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)