1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Update the visibility for the custom templates for all platforms

Hide the custom template options behind the `Advanced Options` toggle
This commit is contained in:
Fredia Huya-Kouadio
2024-06-24 06:45:31 -07:00
parent 2b7ea6223b
commit 2d3f6963b2
7 changed files with 46 additions and 5 deletions

View File

@@ -1979,7 +1979,7 @@ bool EditorExportPlatformAndroid::get_export_option_visibility(const EditorExpor
}
if (p_option == "custom_template/debug" || p_option == "custom_template/release") {
// The APK templates are ignored if Gradle build is enabled.
return !bool(p_preset->get("gradle_build/use_gradle_build"));
return advanced_options_enabled && !bool(p_preset->get("gradle_build/use_gradle_build"));
}
// Hide .NET embedding option (always enabled).