mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
fixed photo label for groups and channels
This commit is contained in:
@@ -1946,10 +1946,10 @@ void MediaView::updateHeader() {
|
||||
_headerText = _doc->name.isEmpty() ? lang(lng_mediaview_doc_image) : _doc->name;
|
||||
} else if (_user) {
|
||||
_headerText = lang(lng_mediaview_profile_photo);
|
||||
} else if (_channel) {
|
||||
_headerText = lang(lng_mediaview_group_photo);
|
||||
} else if (_peer) {
|
||||
} else if (_channel || (_peer && _peer->isChannel())) {
|
||||
_headerText = lang(lng_mediaview_channel_photo);
|
||||
} else if (_peer) {
|
||||
_headerText = lang(lng_mediaview_group_photo);
|
||||
} else {
|
||||
_headerText = lang(lng_mediaview_single_photo);
|
||||
}
|
||||
|
Reference in New Issue
Block a user