From: zhouhao02 Date: Wed, 6 Sep 2023 07:51:02 +0000 (+0800) Subject: [NUI] Fix the SVACE issue. X-Git-Tag: accepted/tizen/unified/20231205.024657~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df054bbf5c249915d78db8b05dfa7542c96a5af3;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Fix the SVACE issue. --- diff --git a/src/Tizen.NUI.Components/Controls/Popup.cs b/src/Tizen.NUI.Components/Controls/Popup.cs index cbf4022..f046782 100755 --- a/src/Tizen.NUI.Components/Controls/Popup.cs +++ b/src/Tizen.NUI.Components/Controls/Popup.cs @@ -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); } diff --git a/src/Tizen.NUI.Wearable/src/public/Title.cs b/src/Tizen.NUI.Wearable/src/public/Title.cs index 5d3fb1e..7934030 100755 --- a/src/Tizen.NUI.Wearable/src/public/Title.cs +++ b/src/Tizen.NUI.Wearable/src/public/Title.cs @@ -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();