Skip to content

Commit

Permalink
fix input for notification feed
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusLindroth committed May 7, 2022
1 parent 47daa2c commit 9958d2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ func (tv *TutView) InputMainViewFeed(event *tcell.EventKey) *tcell.EventKey {
tv.Timeline.PrevItemFeed(mainFocus)
return nil
case 'n', 'N':
tv.FocusNotification()
if tv.tut.Config.General.NotificationFeed {
tv.FocusNotification()
}
return nil
case 'q', 'Q':
if mainFocus {
Expand Down

0 comments on commit 9958d2f

Please sign in to comment.