mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Added back button to cloud password step in intro.
This commit is contained in:
parent
9e85b1aa23
commit
2605e754ff
2 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,10 @@ public:
|
|||
void submit() override;
|
||||
rpl::producer<QString> nextButtonText() const override;
|
||||
|
||||
bool hasBack() const override {
|
||||
return true;
|
||||
}
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
|
||||
|
|
|
@ -849,7 +849,7 @@ void Widget::backRequested() {
|
|||
Core::App().domain().activate(parent);
|
||||
} else {
|
||||
moveToStep(
|
||||
new StartWidget(this, _account, getData()),
|
||||
Ui::CreateChild<StartWidget>(this, _account, getData()),
|
||||
StackAction::Replace,
|
||||
Animate::Back);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue