mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Changed behavior to always display open userpic menu item.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user