fix improper back stacking after tapping notifications

This commit is contained in:
dosiecki 2017-05-30 22:48:27 -07:00
parent 15266103eb
commit 7d1950f1f2

View file

@ -698,7 +698,7 @@ public abstract class Reading extends NbActivity implements OnPageChangeListener
if (getUnreadCount() <= 0) {
// if there are no unread stories, go back to the feed list
Intent i = new Intent(this, Main.class);
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(i);
} else {
// if there are unreads, go to the next one