Fix error with older version of iOS
Fix issue that can occur with an older version of iOS.
This commit is contained in:
parent
9227281984
commit
a0a193b040
|
@ -1,6 +1,6 @@
|
|||
# SwiftletRadioButtonPicker for Swift and SwiftUI
|
||||
|
||||
      
|
||||
      
|
||||
|
||||
Creates a cross-platform Radio Button Picker that allow the user to select from a small group of options by presenting a list of `SwiftletRadioButton` objects that the user can tap on to select one items from the list.
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ public struct SwiftletRadioButtonPicker: View {
|
|||
HStack {
|
||||
Image(systemName: (button.isSelected) ? selectedSymbolName : unselectedSymbolName)
|
||||
.resizable()
|
||||
.frame(width: selectorSize, height: selectorSize)
|
||||
.frame(width: CGFloat(selectorSize), height: CGFloat(selectorSize))
|
||||
|
||||
Text(button.name)
|
||||
|
||||
|
|
Loading…
Reference in New Issue