Skip to content

Commit

Permalink
Deleted branch my_wnginienring
Browse files Browse the repository at this point in the history
  • Loading branch information
Richi-Mi committed Mar 15, 2024
1 parent be65b0e commit 31b6f33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
15 changes: 1 addition & 14 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.coderic.protective.mobile.model.datos

import androidx.annotation.DrawableRes
import androidx.compose.ui.res.stringResource
import org.coderic.protective.mobile.R


Expand All @@ -15,7 +16,7 @@ data class Pet(
var description: String = "",
var image: String = ""
)
enum class Gender( @DrawableRes val type: Int ) {
MAN( R.drawable.male ),
FEMALE(R.drawable.female );
enum class Gender( val type: Int, @DrawableRes val image: Int ) {
MAN( 0, R.drawable.male ),
FEMALE( 1, R.drawable.female );
}

0 comments on commit 31b6f33

Please sign in to comment.