Fix crash when trying to insert an account that already exists in the database.
This commit is contained in:
parent
a2c2c315b9
commit
5659a1dd8c
2 changed files with 2 additions and 1 deletions
1
app/proguard-rules.pro
vendored
1
app/proguard-rules.pro
vendored
|
@ -24,6 +24,7 @@
|
|||
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
|
||||
-dontwarn org.bitcoinj.store**
|
||||
-dontwarn org.slf4j.**
|
||||
-dontwarn okhttp3.internal.platform.*
|
||||
|
||||
# Firabase Crashlytics
|
||||
-keepattributes *Annotation*
|
||||
|
|
|
@ -9,7 +9,7 @@ import cy.agorise.bitsybitshareswallet.database.entities.UserAccount
|
|||
|
||||
@Dao
|
||||
interface UserAccountDao {
|
||||
@Insert
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
fun insert(userAccount: UserAccount)
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
|
|
Loading…
Reference in a new issue