mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Revert "Add warning when monochrome icon is not specified"
This reverts commit a84292e835
.
This commit is contained in:
parent
fd4c29a189
commit
5e09d747e8
1 changed files with 1 additions and 7 deletions
|
@ -1698,7 +1698,7 @@ void EditorExportPlatformAndroid::load_icon_refs(const Ref<EditorExportPreset> &
|
|||
path = static_cast<String>(p_preset->get(launcher_adaptive_icon_monochrome_option)).strip_edges();
|
||||
if (!path.is_empty()) {
|
||||
print_verbose("Loading adaptive monochrome icon from " + path);
|
||||
ImageLoader::load_image(path, monochrome);
|
||||
ImageLoader::load_image(path, background);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1783,12 +1783,6 @@ String EditorExportPlatformAndroid::get_export_option_warning(const EditorExport
|
|||
if (!is_package_name_valid(pn, &pn_err)) {
|
||||
return TTR("Invalid package name:") + " " + pn_err;
|
||||
}
|
||||
} else if (p_name == launcher_adaptive_icon_monochrome_option) {
|
||||
String monochrome_icon_path = p_preset->get(launcher_adaptive_icon_monochrome_option);
|
||||
|
||||
if (monochrome_icon_path.is_empty()) {
|
||||
return TTR("No adaptive monochrome icon specified; default Godot monochrome icon will be used.");
|
||||
}
|
||||
} else if (p_name == "gradle_build/use_gradle_build") {
|
||||
bool gradle_build_enabled = p_preset->get("gradle_build/use_gradle_build");
|
||||
String enabled_plugins_names = _get_plugins_names(Ref<EditorExportPreset>(p_preset));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue