Skip to content

Commit

Permalink
Fix chat preview in non-default themes.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed May 29, 2024
1 parent 0dd6ff9 commit 465fc42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 465fc42

Please sign in to comment.