Don't display the device list if no APK is available

This commit is contained in:
Guillaume Meunier
2025-02-02 23:46:50 +01:00
parent 146a8a4926
commit 97cffc755d
5 changed files with 185 additions and 151 deletions
+1 -2
View File
@@ -53,8 +53,7 @@ QCoro::Task<> apk_installer::doRefreshLatestVersion()
m_apkUrl = QUrl{};
busyChanged(m_busy = true);
if (m_latestVersion != "")
latestVersionChanged(m_latestVersion = "");
latestVersionChanged(m_latestVersion = "");
std::unique_ptr<QNetworkReply> reply{co_await manager.get(QNetworkRequest{QUrl{"https://api.github.com/repos/WiVRn/WiVRn/releases/latest"}})};