Minor. Fix target platforms formatting in FacetSettings

#KT-33813 Fixed
This commit is contained in:
Andrey Uskov
2019-09-11 22:57:11 +03:00
parent a5b21308fd
commit 15bfb7498c
@@ -388,7 +388,7 @@ class KotlinFacetEditorGeneralTab(
editor.useProjectSettingsCheckBox.isSelected = configuration.settings.useProjectSettings editor.useProjectSettingsCheckBox.isSelected = configuration.settings.useProjectSettings
editor.targetPlatformsCurrentlySelected = configuration.settings.targetPlatform editor.targetPlatformsCurrentlySelected = configuration.settings.targetPlatform
editor.targetPlatformLabel.text = editor.targetPlatformLabel.text =
editor.targetPlatformsCurrentlySelected?.componentPlatforms?.map { it.oldFashionedDescription }?.joinToString(", ") editor.targetPlatformsCurrentlySelected?.componentPlatforms?.map { it.oldFashionedDescription.trim() }?.joinToString(", ")
?: "<none>" ?: "<none>"
editor.dependsOnLabel.isVisible = configuration.settings.dependsOnModuleNames.isNotEmpty() editor.dependsOnLabel.isVisible = configuration.settings.dependsOnModuleNames.isNotEmpty()
editor.dependsOnLabel.text = configuration.settings.dependsOnModuleNames.joinToString(", ","Depends on: ", ".") editor.dependsOnLabel.text = configuration.settings.dependsOnModuleNames.joinToString(", ","Depends on: ", ".")