Skip to content

Commit f244689

Browse files
Update components/Extensions/src/Text/StringExtensions.Localization.cs
Co-authored-by: Sergio Pedri <[email protected]>
1 parent 61b1253 commit f244689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Extensions/src/Text/StringExtensions.Localization.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static StringExtensions()
5454
if (uiContext != null)
5555
{
5656
var resourceLoader = ResourceLoader.GetForUIContext(uiContext);
57-
return resourceLoader?.GetString(resourceKey) ?? string.Empty;
57+
return resourceLoader.GetString(resourceKey);
5858
}
5959
else
6060
{

0 commit comments

Comments
 (0)