Skip to content

Commit

Permalink
Disable updates checking for Android and iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
aiamnezia committed Dec 25, 2024
1 parent 4588aa3 commit eb6c40f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/amnezia_application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,12 @@ void AmneziaApplication::initControllers()

m_updateController.reset(new UpdateController(m_settings));
m_engine->rootContext()->setContextProperty("UpdateController", m_updateController.get());
m_updateController->checkForUpdates();

#if !defined(Q_OS_ANDROID) && !defined(Q_OS_IOS)
connect(m_updateController.get(), &UpdateController::updateFound, this, [this]() {
QTimer::singleShot(1000, this, [this]() { m_pageController->showChangelogDrawer(); });
});

m_updateController->checkForUpdates();
#endif
}

0 comments on commit eb6c40f

Please sign in to comment.