We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe2b8c commit 53501a1Copy full SHA for 53501a1
1 file changed
DevLog/Presentation/ViewModel/PushNotificationListViewModel.swift
@@ -169,12 +169,12 @@ final class PushNotificationListViewModel: Store {
169
170
send(.fetchNotifications)
171
}
172
- case .toggleRead(let notificationId):
+ case .toggleRead(let todoId):
173
Task {
174
do {
175
defer { send(.setLoading(false)) }
176
send(.setLoading(true))
177
- try await toggleReadUseCase.execute(notificationId)
+ try await toggleReadUseCase.execute(todoId)
178
} catch {
179
send(.setAlert(isPresented: true))
180
0 commit comments