diff --git a/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepository.kt b/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepository.kt index 1ff1b65a..7f0dd153 100644 --- a/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepository.kt +++ b/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepository.kt @@ -54,8 +54,6 @@ interface FoodRepository { suspend fun getCurrentWidgetType(): Flow //Room - suspend fun insertFoods(restaurant: Restaurant) - suspend fun deleteFoods(restaurant: Restaurant) //Room PagingData diff --git a/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepositoryImpl.kt b/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepositoryImpl.kt index ca9a8819..7c3e7ada 100644 --- a/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepositoryImpl.kt +++ b/app/src/main/java/com/myongsik/myongsikandroid/data/repository/food/FoodRepositoryImpl.kt @@ -295,11 +295,6 @@ class FoodRepositoryImpl @Inject constructor( } } - //장소 찜꽁리스트에 저장 - override suspend fun insertFoods(restaurant: Restaurant) { - db.restaurantDao().insertGoodFood(restaurant) - } - //장소 찜콩리스트에서 삭제 override suspend fun deleteFoods(restaurant: Restaurant) { db.restaurantDao().deleteBook(restaurant)