|
|
|
@ -30,7 +30,9 @@ class Patcher { |
|
|
|
if (lockedTypes.size == 3) { |
|
|
|
if (lockedTypes.size == 3) { |
|
|
|
Preferences.executeOnce(Preferences.Keys.ADD_NEW_TRANSACTION_TYPES, context) { |
|
|
|
Preferences.executeOnce(Preferences.Keys.ADD_NEW_TRANSACTION_TYPES, context) { |
|
|
|
val newTypes = arrayOf(TransactionType.Value.STACKING_INCOMING, TransactionType.Value.STACKING_OUTGOING) |
|
|
|
val newTypes = arrayOf(TransactionType.Value.STACKING_INCOMING, TransactionType.Value.STACKING_OUTGOING) |
|
|
|
Seed.createDefaultTransactionTypes(newTypes, context, realm) |
|
|
|
realm.executeTransaction { |
|
|
|
|
|
|
|
Seed.createDefaultTransactionTypes(newTypes, context, realm) |
|
|
|
|
|
|
|
} |
|
|
|
patchBlindFormat() |
|
|
|
patchBlindFormat() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|