Fixed an issue where the 'jump to game' help prompt could disappear from the grouped custom collections system.

This commit is contained in:
Leon Styhre 2022-12-21 20:28:43 +01:00
parent 10b971db5b
commit 6699682efb

View file

@ -418,9 +418,10 @@ std::vector<HelpPrompt> GamelistView::getHelpPrompts()
if (mRoot->getSystem()->getThemeFolder() == "custom-collections" &&
!CollectionSystemsManager::getInstance()->isEditing() && mCursorStack.empty() &&
ViewController::getInstance()->getState().viewing == ViewController::GAMELIST &&
ViewController::getInstance()->getState().viewstyle != ViewController::BASIC) {
prompts.push_back(HelpPrompt("y", "jump to game"));
ViewController::getInstance()->getState().viewing == ViewController::GAMELIST) {
if (!(mLegacyMode &&
ViewController::getInstance()->getState().viewstyle == ViewController::BASIC))
prompts.push_back(HelpPrompt("y", "jump to game"));
}
else if (mRoot->getSystem()->isGameSystem() &&
(mRoot->getSystem()->getThemeFolder() != "custom-collections" ||