mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: userpic suggestion when using wide messages
This commit is contained in:
@@ -1031,7 +1031,7 @@ std::unique_ptr<HistoryView::Media> MediaPhoto::createView(
|
|||||||
message,
|
message,
|
||||||
_chat,
|
_chat,
|
||||||
_photo,
|
_photo,
|
||||||
st::msgServicePhotoWidth));
|
st::msgServiceUserpicSuggestionPhotoWidth));
|
||||||
}
|
}
|
||||||
return std::make_unique<HistoryView::Photo>(
|
return std::make_unique<HistoryView::Photo>(
|
||||||
message,
|
message,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ msgNameStyle: semiboldTextStyle;
|
|||||||
msgServiceFont: semiboldFont;
|
msgServiceFont: semiboldFont;
|
||||||
msgServiceNameFont: semiboldFont;
|
msgServiceNameFont: semiboldFont;
|
||||||
msgServicePhotoWidth: 100px;
|
msgServicePhotoWidth: 100px;
|
||||||
|
msgServiceUserpicSuggestionPhotoWidth: 100px;
|
||||||
msgDateFont: font(13px);
|
msgDateFont: font(13px);
|
||||||
msgMinWidth: 160px;
|
msgMinWidth: 160px;
|
||||||
msgPhotoSize: 33px;
|
msgPhotoSize: 33px;
|
||||||
|
|||||||
Reference in New Issue
Block a user