Hide create server buttons for android

This commit is contained in:
Benau 2018-03-03 14:31:38 +08:00
parent 594780a758
commit 58757c2927
2 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,9 @@ OnlineLanScreen::OnlineLanScreen() : GUIEngine::Screen("online/lan.stkgui")
void OnlineLanScreen::loadedFromFile()
{
#ifdef ANDROID
getWidget("create_lan_server")->setVisible(false);
#endif
} // loadedFromFile
// -----------------------------------------------------------------------------

View File

@ -62,6 +62,9 @@ void OnlineProfileServers::loadedFromFile()
getWidget<IconButtonWidget>("create_wan_server")->setActive(false);
getWidget<IconButtonWidget>("quick_wan_play")->setActive(false);
}
#ifdef ANDROID
getWidget("create_wan_server")->setVisible(false);
#endif
} // loadedFromFile
// -----------------------------------------------------------------------------