|
|
|
|
@ -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() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|