Skip to content

Remove unused field from WatchedPRInfo #29

Description

@SeanMcTex

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions