Skip to content

Commit

Permalink
Merge pull request #15157 from brave/pr15153_fix_brave_news_enable_fr…
Browse files Browse the repository at this point in the history
…om_settings_android_1.45.x

fix brave news feed doesn't show when enabled through settings android (uplift to 1.45.x)
  • Loading branch information
kjozwiak authored Sep 22, 2022
2 parents dc626f4 + b88397b commit 4567d76
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,11 @@ private void refreshFeed() {
}

if (mIsDisplayNews) {
if (mIsDisplayNewsOptin) {
mIsDisplayNewsOptin = false;
mNtpAdapter.removeNewsOptin();
mNtpAdapter.setImageCreditAlpha(1f);
}
mNtpAdapter.setDisplayNews(mIsDisplayNews);
getFeed(false);
}
Expand Down

0 comments on commit 4567d76

Please sign in to comment.