mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fix inifinte search on unexpectedly high unread counts (#480)
This commit is contained in:
parent
bed7c32394
commit
5230f3afbe
1 changed files with 1 additions and 1 deletions
|
@ -452,7 +452,7 @@ public abstract class Reading extends NbFragmentActivity implements OnPageChange
|
||||||
* Click handler for the righthand overlay nav button.
|
* Click handler for the righthand overlay nav button.
|
||||||
*/
|
*/
|
||||||
public void overlayRight(View v) {
|
public void overlayRight(View v) {
|
||||||
if (getUnreadCount() == 0) {
|
if (getUnreadCount() <= 0) {
|
||||||
// if there are no unread stories, go back to the feed list
|
// if there are no unread stories, go back to the feed list
|
||||||
Intent i = new Intent(this, Main.class);
|
Intent i = new Intent(this, Main.class);
|
||||||
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||||
|
|
Loading…
Add table
Reference in a new issue