Skip to content

Commit

Permalink
Fix issue with binding generation
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Dec 2, 2021
1 parent 256750e commit d53450b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/binding/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -694,14 +694,18 @@ import "fyne.io/fyne/v2"
b.Since = "2.0"
}

writeFile(listFile, list, b)
if b.Name == "Untyped" {
continue // interface{} is special, we have it in binding.go instead
}

writeFile(itemFile, item, b)
if b.SupportsPreferences {
writeFile(prefFile, preference, b)
}
if b.Format != "" || b.ToString != "" {
writeFile(convertFile, toString, b)
}
writeFile(listFile, list, b)
}
// add StringTo... at the bottom of the convertFile for correct ordering
for _, b := range binds {
Expand Down

0 comments on commit d53450b

Please sign in to comment.