Skip to content

Commit 886d825

Browse files
committed
fix: Todo 편집 윈도우 source 매칭 오류 수정
1 parent b71be42 commit 886d825

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Application/DevLogPresentation/Sources/Home/TodoEditorWindowValue.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ extension TodoEditorWindowValue {
147147
category: TodoCategory? = nil,
148148
source: TodoEditorWindowSource
149149
) -> Bool {
150-
guard case .create(let windowCategory, source) = self else { return false }
150+
guard case .create(let windowCategory, let windowSource) = self,
151+
windowSource == source else { return false }
151152
if let category {
152153
return windowCategory.todoCategory == category
153154
}

0 commit comments

Comments
 (0)