You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/main/java/com/example/util/simpletimetracker/core/interactor/GetCurrentRecordsDurationInteractor.kt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ class GetCurrentRecordsDurationInteractor @Inject constructor(
25
25
}
26
26
27
27
suspendfungetAllCurrents(
28
-
typeIds:List<Long>,
28
+
typeIds:Set<Long>,
29
29
runningRecords:List<RunningRecord>,
30
30
rangeLength:RangeLength,
31
31
): Map<Long, Result> {
@@ -55,7 +55,7 @@ class GetCurrentRecordsDurationInteractor @Inject constructor(
Copy file name to clipboardExpand all lines: core/src/main/java/com/example/util/simpletimetracker/core/interactor/RecordCommentSearchViewDataInteractor.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ class RecordCommentSearchViewDataInteractor @Inject constructor(
132
132
): List<ViewHolderType> {
133
133
data classData(valtimeStarted:Long, valcomment:String)
134
134
135
-
val records = recordInteractor.getWithParams(GetParam.TypeWithAnyComment(listOf(typeId)))
135
+
val records = recordInteractor.getWithParams(GetParam.TypeWithAnyComment(setOf(typeId)))
136
136
.map { Data(it.timeStarted, it.comment) }
137
137
val runningRecords = runningRecordInteractor.getAll()
Copy file name to clipboardExpand all lines: domain/src/main/java/com/example/util/simpletimetracker/domain/recordType/interactor/RecordTypeInteractor.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ class RecordTypeInteractor @Inject constructor(
66
66
}
67
67
68
68
suspendfunremove(id:Long) {
69
-
val recordsToRemove = recordRepo.getByType(listOf(id)).map { it.id }
69
+
val recordsToRemove = recordRepo.getByType(setOf(id)).map { it.id }
70
70
recordsToRemove.forEach { recordId ->
71
71
recordToRecordTagRepo.removeAllByRecordId(recordId) // TODO do better?
Copy file name to clipboardExpand all lines: features/feature_dialogs/src/main/java/com/example/util/simpletimetracker/feature_dialogs/archive/interactor/ArchiveDialogViewDataInteractor.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ class ArchiveDialogViewDataInteractor @Inject constructor(
40
40
checkState =GoalCheckmarkView.CheckState.HIDDEN,
41
41
isComplete =false,
42
42
)
43
-
val recordsCount = recordInteractor.getWithParams(GetParam.Type(listOf(typeId))).size
43
+
val recordsCount = recordInteractor.getWithParams(GetParam.Type(setOf(typeId))).size
Copy file name to clipboardExpand all lines: features/feature_notification/src/main/java/com/example/util/simpletimetracker/feature_notification/activitySwitch/interactor/NotificationActivitySwitchInteractorImpl.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ class NotificationActivitySwitchInteractorImpl @Inject constructor(
0 commit comments