Fixes app build

csv
Laurent 6 years ago
parent 259d453117
commit 6f0fe5b104
  1. 4
      app/src/main/java/net/pokeranalytics/android/model/migrations/Patcher.kt

@ -21,7 +21,7 @@ class Patcher {
patchDefaultTransactionTypes(context)
}
Preferences.executeOnce(Preferences.Keys.PATCH_BLINDS_FORMAT, context) {
patchBlindFormat(context)
patchBlindFormat()
}
val realm = Realm.getDefaultInstance()
@ -31,7 +31,7 @@ class Patcher {
Preferences.executeOnce(Preferences.Keys.ADD_NEW_TRANSACTION_TYPES, context) {
val newTypes = arrayOf(TransactionType.Value.STACKING_INCOMING, TransactionType.Value.STACKING_OUTGOING)
Seed.createDefaultTransactionTypes(newTypes, context, realm)
patchBlindFormat(context)
patchBlindFormat()
}
}

Loading…
Cancel
Save