Skip to content

Commit 6a2922e

Browse files
fix: 언어에 따라 비교값이 달라질 수 있는 문제 해결
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 0c36340 commit 6a2922e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DevLog/Presentation/ViewModel/TodoManageViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ final class TodoManageViewModel: Store {
8787
}
8888

8989
if SystemTodoCategory.allCases.contains(where: {
90-
SystemTodoCategoryItem(from: $0).localizedName.caseInsensitiveCompare(trimmedCategoryName) == .orderedSame
90+
$0.rawValue.caseInsensitiveCompare(trimmedCategoryName) == .orderedSame
9191
}) {
9292
return false
9393
}

0 commit comments

Comments
 (0)