Skip to content

Commit 545643c

Browse files
committed
fix(Accessibility): Turns out accessibilityLabel should not be null either.
1 parent 131c314 commit 545643c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactWindows/ReactNative/UIManager/BaseViewManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void SetZIndex(TFrameworkElement view, int zIndex)
8787
[ReactProp("accessibilityLabel")]
8888
public void SetAccessibilityLabel(TFrameworkElement view, string label)
8989
{
90-
AutomationProperties.SetName(view, label);
90+
AutomationProperties.SetName(view, label ?? "");
9191
}
9292

9393
/// <summary>

0 commit comments

Comments
 (0)