mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Full view auto-selects first story when in single story mode.
This commit is contained in:
parent
055fcbc0ea
commit
3623b75ce2
1 changed files with 6 additions and 0 deletions
|
@ -997,6 +997,10 @@
|
|||
if (!this.active_story && open_feed_action == 'newest' &&
|
||||
!this.flags['feed_list_showing_starred']) {
|
||||
this.show_next_unread_story();
|
||||
} else if (!this.active_story &&
|
||||
NEWSBLUR.assets.view_setting(NEWSBLUR.reader.active_feed, 'layout') == 'full' &&
|
||||
NEWSBLUR.assets.preference('feed_view_single_story')) {
|
||||
this.show_next_unread_story();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1656,6 +1660,8 @@
|
|||
NEWSBLUR.app.story_list.show_only_selected_story();
|
||||
this.active_story.story_title_view.toggle_selected();
|
||||
this.active_story.story_view.toggle_selected();
|
||||
} else {
|
||||
this.find_story_with_action_preference_on_open_feed();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue