File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
platform/android/java/editor/src/main/java/org/godotengine/editor Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import androidx.core.view.isVisible
4141import org.godotengine.editor.embed.GameMenuFragment
4242import org.godotengine.godot.utils.GameMenuUtils
4343import org.godotengine.godot.utils.ProcessPhoenix
44+ import org.godotengine.godot.utils.isHorizonOSDevice
4445import org.godotengine.godot.utils.isNativeXRDevice
4546
4647/* *
@@ -228,7 +229,7 @@ open class GodotGame : BaseGodotGame() {
228229
229230 override fun isMinimizedButtonEnabled () = isTaskRoot && ! isNativeXRDevice(applicationContext)
230231
231- override fun isCloseButtonEnabled () = ! isNativeXRDevice (applicationContext)
232+ override fun isCloseButtonEnabled () = ! isHorizonOSDevice (applicationContext)
232233
233234 override fun isPiPButtonEnabled () = hasPiPSystemFeature()
234235
You can’t perform that action at this time.
0 commit comments