diff --git a/core/src/com/unciv/ui/options/AdvancedTab.kt b/core/src/com/unciv/ui/options/AdvancedTab.kt index 81e4a8c4dd..dbf1912c92 100644 --- a/core/src/com/unciv/ui/options/AdvancedTab.kt +++ b/core/src/com/unciv/ui/options/AdvancedTab.kt @@ -40,7 +40,7 @@ fun advancedTab( addMaxZoomSlider(this, settings) val screen = optionsPopup.screen - if (screen.game.platformSpecificHelper != null) { + if (screen.game.platformSpecificHelper != null && Gdx.app.type == Application.ApplicationType.Android) { optionsPopup.addCheckbox(this, "Enable portrait orientation", settings.allowAndroidPortrait) { settings.allowAndroidPortrait = it // Note the following might close the options screen indirectly and delayed @@ -176,4 +176,4 @@ private fun addSetUserId(table: Table, settings: GameSettings, screen: BaseScree } table.add(takeUserIdFromClipboardButton).pad(5f).colspan(2).row() table.add(idSetLabel).colspan(2).row() -} \ No newline at end of file +}