mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix date/unread bar display in albums.
This commit is contained in:
@@ -1533,7 +1533,7 @@ QRect Message::countGeometry() const {
|
|||||||
|
|
||||||
int Message::resizeContentGetHeight(int newWidth) {
|
int Message::resizeContentGetHeight(int newWidth) {
|
||||||
if (isHiddenByGroup()) {
|
if (isHiddenByGroup()) {
|
||||||
return 0;
|
return marginTop() + marginBottom();
|
||||||
} else if (newWidth < st::msgMinWidth) {
|
} else if (newWidth < st::msgMinWidth) {
|
||||||
return height();
|
return height();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user