Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 98aa44b

Browse files
authored
Update LocalizedString.shared.cs (#1071)
1 parent b5773a4 commit 98aa44b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CommunityToolkit/Xamarin.CommunityToolkit/Helpers/LocalizedString.shared.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public LocalizedString(LocalizationResourceManager localizationManager, Func<str
2323
localizationManager.PropertyChanged += (sender, e) => OnPropertyChanged(null);
2424
}
2525

26+
[Preserve(Conditional = true)]
2627
public string Localized => generator();
2728

2829
[Preserve(Conditional = true)]

0 commit comments

Comments
 (0)