Skip to content

Commit

Permalink
fix: the fix for the fix that i forgot to fix
Browse files Browse the repository at this point in the history
basicly me fixing the reggression again
  • Loading branch information
isabelroses committed May 27, 2024
1 parent 5f43923 commit 8541343
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func (m Model) handleKeys(msg tea.KeyMsg) (Model, tea.Cmd) {
lib.ToggleRead(m.feeds, m.feed.ID, m.table.Cursor())
m = m.loadContent(m.feed.ID)
}
m.feeds.WriteTracking()

Check failure on line 185 in cmd/keys.go

View workflow job for this annotation

GitHub Actions / lint

Error return value of `m.feeds.WriteTracking` is not checked (errcheck)

case key.Matches(msg, m.keys.ReadAll):
switch m.context {
Expand All @@ -195,6 +196,8 @@ func (m Model) handleKeys(msg tea.KeyMsg) (Model, tea.Cmd) {
lib.ReadAll(m.feeds, m.table.Cursor())
m = m.loadHome()
}

m.feeds.WriteTracking()

Check failure on line 200 in cmd/keys.go

View workflow job for this annotation

GitHub Actions / lint

Error return value of `m.feeds.WriteTracking` is not checked (errcheck)
}

return m, nil
Expand Down

0 comments on commit 8541343

Please sign in to comment.