Fix mediaview download icon in night mode.

This commit is contained in:
John Preston 2018-02-24 16:38:51 +03:00
parent b4581a7bbf
commit b4baebc230

View file

@ -2245,9 +2245,9 @@ void MediaView::paintDocRadialLoading(Painter &p, bool radial, float64 radialOpa
p.setOpacity(1.);
auto icon = ([radial, this]() -> const style::icon* {
if (radial || _doc->loading()) {
return &st::historyFileInCancel;
return &st::historyFileThumbCancel;
}
return &st::historyFileInDownload;
return &st::historyFileThumbDownload;
})();
if (icon) {
icon->paintInCenter(p, inner);