diff --git a/app/src/main/kotlin/org/ntlab/leftoverrecipe/model/db/RecipeDataRealm.kt b/app/src/main/kotlin/org/ntlab/leftoverrecipe/model/db/RecipeDataRealm.kt index bfb7c4f..b188b81 100644 --- a/app/src/main/kotlin/org/ntlab/leftoverrecipe/model/db/RecipeDataRealm.kt +++ b/app/src/main/kotlin/org/ntlab/leftoverrecipe/model/db/RecipeDataRealm.kt @@ -13,7 +13,7 @@ mRealm.use { realm -> realm?.executeTransaction { - realm?.copyToRealmOrUpdate(recipeData) + realm.copyToRealm(recipeData) } } }