Skip to content

Commit

Permalink
Merge pull request #178 from willowtreeapps/bugfix/177
Browse files Browse the repository at this point in the history
Fix crash on release builds
  • Loading branch information
jstubing authored Apr 27, 2020
2 parents 1ca18b8 + 008a497 commit 79ddd21
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {
applicationId "com.willowtree.vocable"
minSdkVersion 24
targetSdkVersion 29
versionCode 10
versionCode 11
versionName "1.3.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
Expand Down
7 changes: 7 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
# JSR 305 annotations are for embedding nullability information.

# Keep room model class members
-keepclassmembers class com.willowtree.vocable.room.models** {
<init>(...);
<fields>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import android.util.Log
import com.squareup.moshi.Moshi
import com.willowtree.vocable.R
import com.willowtree.vocable.room.*
import com.willowtree.vocable.room.models.PresetsObject
import com.willowtree.vocable.utils.VocableSharedPreferences
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.willowtree.vocable.room
package com.willowtree.vocable.room.models

data class PresetCategory(
val id: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.willowtree.vocable.room
package com.willowtree.vocable.room.models

data class PresetPhrase(
val id: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.willowtree.vocable.room
package com.willowtree.vocable.room.models

data class PresetsObject(
val schemaVersion: Int,
Expand Down

0 comments on commit 79ddd21

Please sign in to comment.