Add a special key for saved messages userpic bg.

This commit is contained in:
John Preston 2017-12-08 13:22:58 +04:00
parent 935232eaa2
commit aa16bcd604
2 changed files with 2 additions and 1 deletions

View File

@ -316,6 +316,7 @@ historyPeer8NameFg: #ce671b; // orange group member name
historyPeer8NameFgSelected: historyPeer8NameFg; // orange group member name in a selected message
historyPeer8UserpicBg: #faa774; // orange userpic background
historyPeerUserpicFg: windowFgActive; // default userpic initials
historyPeerSavedMessagesBg: historyPeer4UserpicBg; // saved messages userpic background
// Some values are marked as (adjusted), it means they're adjusted by
// hue and saturation of the average background color if user chooses

View File

@ -84,7 +84,7 @@ void EmptyUserpic::PaintSavedMessages(
int y,
int outerWidth,
int size) {
const auto &bg = st::historyPeer4UserpicBg;
const auto &bg = st::historyPeerSavedMessagesBg;
const auto &fg = st::historyPeerUserpicFg;
PaintSavedMessages(p, x, y, outerWidth, size, bg, fg);
}