Hide create server buttons for android
This commit is contained in:
parent
594780a758
commit
58757c2927
@ -57,6 +57,9 @@ OnlineLanScreen::OnlineLanScreen() : GUIEngine::Screen("online/lan.stkgui")
|
||||
|
||||
void OnlineLanScreen::loadedFromFile()
|
||||
{
|
||||
#ifdef ANDROID
|
||||
getWidget("create_lan_server")->setVisible(false);
|
||||
#endif
|
||||
} // loadedFromFile
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
@ -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
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user