A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
0

Configure Feed

Select the types of activity you want to include in your feed.

fix category goals not removing correctly

razeeman (Dec 22, 2023, 6:59 PM +0300) e4237f2b ef171915

+1 -1
+1 -1
data_local/src/main/java/com/example/util/simpletimetracker/data_local/database/RecordTypeGoalDao.kt
··· 40 40 @Query("DELETE FROM recordTypeGoals WHERE type_id = :typeId") 41 41 suspend fun deleteByType(typeId: Long) 42 42 43 - @Query("DELETE FROM recordTypeGoals WHERE type_id = :categoryId") 43 + @Query("DELETE FROM recordTypeGoals WHERE category_id = :categoryId") 44 44 suspend fun deleteByCategory(categoryId: Long) 45 45 46 46 @Query("DELETE FROM recordTypeGoals")