mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Move standard buttons to lib_ui.
This commit is contained in:
@@ -519,6 +519,12 @@ ChatBackground::ChatBackground() : _adjustableColors({
|
||||
st::historyScrollBarBg,
|
||||
st::historyScrollBarBgOver }) {
|
||||
saveAdjustableColors();
|
||||
|
||||
subscribe(this, [=](const BackgroundUpdate &update) {
|
||||
if (update.paletteChanged()) {
|
||||
style::NotifyPaletteChanged();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void ChatBackground::setThemeData(QImage &&themeImage, bool themeTile) {
|
||||
|
Reference in New Issue
Block a user