mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 01:08:02 +00:00
feat: simplify intro
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user