[NUI] fix thumb resource string null check
authorEverLEEst(SangHyeon Jade Lee) <dltkdgus1764@gmail.com>
Mon, 29 Mar 2021 10:27:02 +0000 (19:27 +0900)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 20 Apr 2021 06:13:00 +0000 (15:13 +0900)
src/Tizen.NUI.Components/Controls/Scrollbar.cs

index bdbab3e..a6cc1e7 100755 (executable)
@@ -530,7 +530,7 @@ namespace Tizen.NUI.Components
         private void UpdateThumbColor(Color color)
         {
             thumbColor = color;
-            if (thumbView.ResourceUrl != "")
+            if (thumbView.ResourceUrl != string.IsNullOrEmpty)
             {
                 thumbView.Color = color;
                 thumbView.BackgroundColor = Color.Transparent;