[NUI] Fix the SVACE issue.
authorzhouhao02 <haozhou.zhou@samsung.com>
Wed, 6 Sep 2023 07:51:02 +0000 (15:51 +0800)
committerJoogabYun <40262755+JoogabYun@users.noreply.github.com>
Mon, 11 Sep 2023 07:30:31 +0000 (16:30 +0900)
src/Tizen.NUI.Components/Controls/Popup.cs
src/Tizen.NUI.Wearable/src/public/Title.cs

index cbf4022..f046782 100755 (executable)
@@ -844,7 +844,7 @@ namespace Tizen.NUI.Components
 
         private void PopupStylePropertyChanged(object sender, PropertyChangedEventArgs e)
         {
-            if (e.PropertyName.Equals("LayoutDirection"))
+            if (e.PropertyName is var propName && propName != null && propName.Equals("LayoutDirection"))
             {
                 btGroup.UpdateButton(buttonStyle);
             }
index 5d3fb1e..7934030 100755 (executable)
@@ -247,7 +247,7 @@ namespace Tizen.NUI.Components
 
         private void TitlePropertyChanged(object sender, PropertyChangedEventArgs e)
         {
-            if (isFadeOutColorSet == false  && e.PropertyName.Equals("BackgroundColor") )
+            if (isFadeOutColorSet == false  && e.PropertyName is var propName && propName != null && propName.Equals("BackgroundColor") )
             {
                 fadeOutColor = this.BackgroundColor;
                 UpdateImage();