Skip to content

Commit

Permalink
Merge pull request #2109 from brave/pr2077_favicon-panel_0.63.x
Browse files Browse the repository at this point in the history
Fixes favicon in the panel (uplift to 0.63.x)
  • Loading branch information
NejcZdovc authored Apr 2, 2019
2 parents 3ac547b + 648f540 commit 995a9cd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ void BatPublishers::saveVisitInternal(
}

if (panel_info && window_id > 0) {
if (panel_info->favicon_url == ledger::_clear_favicon) {
panel_info->favicon_url = std::string();
}

OnPanelPublisherInfo(ledger::Result::LEDGER_OK,
std::move(panel_info),
window_id,
Expand Down

0 comments on commit 995a9cd

Please sign in to comment.