SFSymbolEnum
SFSymbolEnum copied to clipboard
ContentUnavailableView support
Using the enum values with ContentUnavailableView doesn't work.
Example:
ContentUnavailableView(
"No saved documents",
systemImage: .documentFill, // Throws error, Type 'String' has no member 'documentFill'
description: Text(
"You have no saved documents yet. Use the button below to scan your first document."
)
)
thanx for pointing out this issue, have you gotten around it ? if so send me a pull request otherwise I'll have a look when I get to it.
I have not gotten to it