feat: simplify intro

This commit is contained in:
AlexeyZavar
2025-02-04 19:28:46 +03:00
parent 53392d6e5d
commit 383c488268
8 changed files with 20 additions and 91 deletions
@@ -375,10 +375,7 @@ void Controller::clearPasscodeLock() {
}
void Controller::setupIntro(QPixmap oldContentCache) {
const auto point = Core::App().domain().maybeLastOrSomeAuthedAccount()
? Intro::EnterPoint::Qr
: Intro::EnterPoint::Start;
_widget.setupIntro(point, std::move(oldContentCache));
_widget.setupIntro(Intro::EnterPoint::Qr, std::move(oldContentCache));
}
void Controller::setupMain(