Skip to content

Commit 1572ceb

Browse files
meh7anjohn-preston
authored andcommitted
Show back button on My Profile when opened in a stack
1 parent b7415c8 commit 1572ceb

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎Telegram/SourceFiles/info/stories/info_stories_widget.cpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ void Widget::setupBottomButton(int wasBottomHeight) {
283283
}
284284
}
285285

286+
void Widget::enableBackButton() {
287+
_inner->enableBackButton();
288+
}
289+
286290
void Widget::showFinished() {
287291
_shown = true;
288292
if (const auto bottom = _pinnedToBottom.data()) {

‎Telegram/SourceFiles/info/stories/info_stories_widget.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ class Widget final : public ContentWidget {
6767

6868
rpl::producer<bool> desiredBottomShadowVisibility() override;
6969

70+
void enableBackButton() override;
7071
void showFinished() override;
7172

7273
private:

0 commit comments

Comments
 (0)