Fix chat preview in non-default themes.

This commit is contained in:
John Preston 2024-05-29 09:43:40 +04:00
parent 0dd6ff9d9b
commit 465fc42718
1 changed files with 1 additions and 0 deletions

View File

@ -242,6 +242,7 @@ Item::Item(not_null<Ui::RpWidget*> parent, not_null<Data::Thread*> thread)
this,
tr::lng_context_mark_read(tr::now),
st::previewMarkRead)) {
_chatStyle->apply(_theme.get());
setPointerCursor(false);
setMinWidth(st::previewMenu.menu.widthMin);
resize(minWidth(), contentHeight());