Display Loading Screenshot... if fetching.

ALSO: Add Stack Theme and increase the  depth of the grid selector from 2 to 3.
This commit is contained in:
StackZ 2021-03-14 05:23:52 +01:00
commit afe9ef9aa5
14 changed files with 54 additions and 17 deletions

View file

@ -425,12 +425,8 @@ Result downloadFromRelease(const std::string &url, const std::string &asset, con
result_sz = 0;
result_written = 0;
if (assetUrl.empty() || ret != 0) {
ret = DL_ERROR_GIT;
} else {
ret = downloadToFile(assetUrl, path);
}
if (assetUrl.empty() || ret != 0) ret = DL_ERROR_GIT;
else ret = downloadToFile(assetUrl, path);
return ret;
}