mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix mediaview download icon in night mode.
This commit is contained in:
parent
b4581a7bbf
commit
b4baebc230
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue