From 2a9bf12e0ec680a4c5d89c50ebb250420322ad03 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Sat, 27 Dec 2025 21:20:26 +0545 Subject: [PATCH] Remove unused isEnabled property from VocabularyWord --- VoiceInk/Views/Dictionary/VocabularyView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/VoiceInk/Views/Dictionary/VocabularyView.swift b/VoiceInk/Views/Dictionary/VocabularyView.swift index ecbd395..d76cb10 100644 --- a/VoiceInk/Views/Dictionary/VocabularyView.swift +++ b/VoiceInk/Views/Dictionary/VocabularyView.swift @@ -10,7 +10,7 @@ struct VocabularyWord: Identifiable, Hashable, Codable { } private enum CodingKeys: String, CodingKey { - case id, word, dateAdded, isEnabled + case id, word, dateAdded } init(from decoder: Decoder) throws { @@ -18,7 +18,6 @@ struct VocabularyWord: Identifiable, Hashable, Codable { word = try container.decode(String.self, forKey: .word) _ = try? container.decodeIfPresent(UUID.self, forKey: .id) _ = try? container.decodeIfPresent(Date.self, forKey: .dateAdded) - _ = try? container.decodeIfPresent(Bool.self, forKey: .isEnabled) } func encode(to encoder: Encoder) throws {