From d7dc3aaf11b87fccd3d2d42753e35b6592cc3c37 Mon Sep 17 00:00:00 2001 From: zhouhao02 Date: Tue, 17 Oct 2023 10:29:02 +0800 Subject: [PATCH] [NUI] Fix the SVACE issue. --- src/Tizen.NUI.Components/Controls/Button.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Tizen.NUI.Components/Controls/Button.cs b/src/Tizen.NUI.Components/Controls/Button.cs index 6601b2b05c8..a4e0b90d6bd 100755 --- a/src/Tizen.NUI.Components/Controls/Button.cs +++ b/src/Tizen.NUI.Components/Controls/Button.cs @@ -790,7 +790,15 @@ public StringSelector IconURLSelector } private StringSelector InternalIconURLSelector { - get => buttonIcon?.ResourceUrlSelector == null ? null : new StringSelector(buttonIcon.ResourceUrlSelector); + get + { + Selector resourceUrlSelector = buttonIcon?.ResourceUrlSelector; + if(resourceUrlSelector == null) + { + return null; + } + return new StringSelector(resourceUrlSelector); + } set { if (value == null || buttonIcon == null)