Skip to content

Commit

Permalink
[NUI] Fix a crash after xaml is disabled in Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
huayongxu authored and dongsug-song committed Feb 18, 2025
1 parent abd9693 commit b611e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tizen.NUI.Components/Controls/Slider.Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ private IndicatorType CurrentIndicatorType()
IndicatorType type = IndicatorType.None;
if (ViewStyle is SliderStyle sliderStyle)
{
type = (IndicatorType)sliderStyle.IndicatorType;
type = sliderStyle.IndicatorType ?? IndicatorType.None;
}
return type;
}
Expand Down

0 comments on commit b611e13

Please sign in to comment.