Skip to content

Commit

Permalink
actions: refactor RealmMyHealth model to kotlin (fixes #2798) (#2803)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Okuro3499 and dogi authored Dec 5, 2023
1 parent 0210469 commit fe216e5
Show file tree
Hide file tree
Showing 10 changed files with 237 additions and 419 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 21
targetSdkVersion 34
versionCode 1185
versionName "0.11.85"
versionCode 1186
versionName "0.11.86"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
76 changes: 0 additions & 76 deletions app/src/main/java/org/ole/planet/myplanet/model/RealmMyHealth.java

This file was deleted.

23 changes: 23 additions & 0 deletions app/src/main/java/org/ole/planet/myplanet/model/RealmMyHealth.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package org.ole.planet.myplanet.model

class RealmMyHealth {
@JvmField
var profile: RealmMyHealthProfile? = null
@JvmField
var userKey: String? = null
@JvmField
var lastExamination: Long = 0

class RealmMyHealthProfile {
@JvmField
var emergencyContactName = ""
@JvmField
var emergencyContactType = ""
@JvmField
var emergencyContact = ""
@JvmField
var specialNeeds = ""
@JvmField
var notes = ""
}
}
275 changes: 0 additions & 275 deletions app/src/main/java/org/ole/planet/myplanet/model/RealmMyHealthPojo.java

This file was deleted.

Loading

0 comments on commit fe216e5

Please sign in to comment.