diff --git a/android/src/com/unciv/app/AndroidLauncher.java b/android/src/com/unciv/app/AndroidLauncher.java index 482b14592f..7341b59af3 100644 --- a/android/src/com/unciv/app/AndroidLauncher.java +++ b/android/src/com/unciv/app/AndroidLauncher.java @@ -1,14 +1,11 @@ package com.unciv.app; -import android.content.Intent; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.unciv.UnCivGame; -import static android.content.Intent.ACTION_VIEW; - public class AndroidLauncher extends AndroidApplication { @Override protected void onCreate (Bundle savedInstanceState) { @@ -16,8 +13,7 @@ public class AndroidLauncher extends AndroidApplication { AndroidApplicationConfiguration config = new AndroidApplicationConfiguration(); String version = BuildConfig.VERSION_NAME; - - Intent openInActionView = new Intent(ACTION_VIEW); + config.useImmersiveMode=true; initialize(new UnCivGame(version), config); } diff --git a/core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt b/core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt index 1075e7fabb..03bf5b9e1b 100644 --- a/core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt +++ b/core/src/com/unciv/ui/cityscreen/ConstructionsTable.kt @@ -34,7 +34,7 @@ class ConstructionsTable(val cityScreen: CityScreen) : Table(CameraStageBaseScre pickProductionButton.add(ImageGetter.getConstructionImage(construction).surroundWithCircle(40f)).padRight(10f) pickProductionButton.add(buttonText.toLabel().setFontColor(Color.WHITE)) - if(rejectionReason=="") { + if(rejectionReason=="") { // no rejection reason means we can build it! pickProductionButton.onClick { lastConstruction = cityScreen.city.cityConstructions.currentConstruction cityScreen.city.cityConstructions.currentConstruction = construction