The timestamp field in WatchedPRInfo is persisted to UserDefaults but never read anywhere in the codebase. getWatchedStatus(for:) exists but has zero callers.
This became more apparent in PR #28, which added lastUpdatedAt and inadvertently resets timestamp on more conditions than intended.
Tasks:
- Remove
timestamp from WatchedPRInfo
- Remove related serialization/deserialization in
save()/load()
- Remove the
getWatchedStatus(for:) method (also unused)
- Clean up any related test data if applicable
The
timestampfield inWatchedPRInfois persisted to UserDefaults but never read anywhere in the codebase.getWatchedStatus(for:)exists but has zero callers.This became more apparent in PR #28, which added
lastUpdatedAtand inadvertently resetstimestampon more conditions than intended.Tasks:
timestampfromWatchedPRInfosave()/load()getWatchedStatus(for:)method (also unused)