mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-01 03:57:17 +01:00
Store: Make Retry download the listing again
It only recreated the views, which showed the same connection error. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8a7b64daa3
commit
3e46790a00
2 files changed
+7
No files matched your search
@@ -354,7 +354,12 @@ void ProductView::OnLaunchClick(UI::EventParams &e) {
|
||||
|
||||
StoreScreen::StoreScreen() : UISimpleBaseDialogScreen(Path(), SimpleDialogFlags::Default) {
|
||||
lang_ = g_Config.sLanguageIni;
|
||||
StartListingDownload();
|
||||
}
|
||||
|
||||
void StoreScreen::StartListingDownload() {
|
||||
loading_ = true;
|
||||
connectionError_ = false;
|
||||
|
||||
std::string indexPath = StoreBaseUrl() + "index.json";
|
||||
const char *acceptMime = "application/json, */*; q=0.8";
|
||||
@@ -532,6 +537,7 @@ void StoreScreen::OnGameLaunch(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
void StoreScreen::OnRetry(UI::EventParams &e) {
|
||||
StartListingDownload();
|
||||
RecreateViews();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user