You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LocalizedStringResource is a more flexible version of the LocalizedStringKey and it can be used without SwiftUI.
So I think it would be better to implement a new initializer for TextState to accept a LocalizedStringResource.
If there is any reason to not to do it, please let me know.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The
LocalizedStringResource
is a more flexible version of theLocalizedStringKey
and it can be used without SwiftUI.So I think it would be better to implement a new initializer for
TextState
to accept aLocalizedStringResource
.If there is any reason to not to do it, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions