Fix iOS compilation

This commit is contained in:
Benau 2021-05-19 11:32:14 +08:00
parent 33459e852c
commit e85ef1b879

View File

@ -109,6 +109,7 @@ DownloadAssets::DownloadAssets()
"(including high quality textures and music) for better " "(including high quality textures and music) for better "
"gaming experience, this will use your mobile data if you don't have " "gaming experience, this will use your mobile data if you don't have "
"a wifi connection."); "a wifi connection.");
#ifdef ANDROID
if (SDL_IsAndroidTV()) if (SDL_IsAndroidTV())
{ {
// I18N: In download assets dialog // I18N: In download assets dialog
@ -116,6 +117,7 @@ DownloadAssets::DownloadAssets()
"(including high quality textures and music) for better " "(including high quality textures and music) for better "
"gaming experience."); "gaming experience.");
} }
#endif
getWidget<BubbleWidget>("description")->setText(msg); getWidget<BubbleWidget>("description")->setText(msg);
} // DownloadAssets } // DownloadAssets