Changed behavior to always display open userpic menu item.

This commit is contained in:
23rd
2026-03-15 15:43:19 +03:00
parent 921d5a62d2
commit 1cbcef17c8
@@ -1192,12 +1192,10 @@ void TopBar::setupUserpicButton(
this,
st::popupMenuWithIcons);
if (_hasStories) {
(*menu)->addAction(
tr::lng_profile_open_photo(tr::now),
openPhoto,
&st::menuIconPhoto);
}
(*menu)->addAction(
tr::lng_profile_open_photo(tr::now),
openPhoto,
&st::menuIconPhoto);
if (canReport()) {
(*menu)->addAction(