From eb5f1c34840972a6fe9ec3e7d0b043accbb9aa2b Mon Sep 17 00:00:00 2001 From: Anish Mishra Date: Tue, 22 Apr 2025 12:13:27 +0530 Subject: [PATCH] Hide `one-click deploy` button on Android and XR editor. --- editor/gui/editor_run_bar.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/gui/editor_run_bar.cpp b/editor/gui/editor_run_bar.cpp index 7b71a376ef..7fccf0706e 100644 --- a/editor/gui/editor_run_bar.cpp +++ b/editor/gui/editor_run_bar.cpp @@ -593,6 +593,9 @@ EditorRunBar::EditorRunBar() { run_native = memnew(EditorRunNative); main_hbox->add_child(run_native); run_native->connect("native_run", callable_mp(this, &EditorRunBar::_run_native)); +#ifdef ANDROID_ENABLED + run_native->hide(); +#endif bool add_play_xr_mode_options = false; #ifndef XR_DISABLED