@@ -301,7 +301,6 @@ func (s *stringTo{{ .Name }}) DataChanged() {
301
301
type bindValues struct {
302
302
Name , Type , Default string
303
303
Format , Since string
304
- SupportsPreferences bool
305
304
FromString , ToString string // function names...
306
305
Comparator string // comparator function name
307
306
FromInt , ToInt string // function names...
@@ -358,12 +357,12 @@ func internalIntToFloat(val int) (float64, error) {
358
357
toInt := template .Must (template .New ("toInt" ).Parse (toIntTemplate ))
359
358
toString := template .Must (template .New ("toString" ).Parse (toStringTemplate ))
360
359
binds := []bindValues {
361
- {Name : "Bool" , Type : "bool" , Default : "false" , Format : "%t" , SupportsPreferences : true },
360
+ {Name : "Bool" , Type : "bool" , Default : "false" , Format : "%t" },
362
361
{Name : "Bytes" , Type : "[]byte" , Default : "nil" , Since : "2.2" , Comparator : "bytes.Equal" },
363
- {Name : "Float" , Type : "float64" , Default : "0.0" , Format : "%f" , SupportsPreferences : true , ToInt : "internalFloatToInt" , FromInt : "internalIntToFloat" },
364
- {Name : "Int" , Type : "int" , Default : "0" , Format : "%d" , SupportsPreferences : true },
362
+ {Name : "Float" , Type : "float64" , Default : "0.0" , Format : "%f" , ToInt : "internalFloatToInt" , FromInt : "internalIntToFloat" },
363
+ {Name : "Int" , Type : "int" , Default : "0" , Format : "%d" },
365
364
{Name : "Rune" , Type : "rune" , Default : "rune(0)" },
366
- {Name : "String" , Type : "string" , Default : "\" \" " , SupportsPreferences : true },
365
+ {Name : "String" , Type : "string" , Default : "\" \" " },
367
366
{Name : "URI" , Type : "fyne.URI" , Default : "fyne.URI(nil)" , Since : "2.1" ,
368
367
FromString : "uriFromString" , ToString : "uriToString" , Comparator : "compareURI" },
369
368
}
0 commit comments