Added back button to cloud password step in intro.

This commit is contained in:
23rd 2024-05-28 15:03:20 +03:00 committed by John Preston
parent 9e85b1aa23
commit 2605e754ff
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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);
}