From d53450b4b0ceec8f7a62ffaca22ec6ad68ec8de4 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Thu, 2 Dec 2021 11:49:30 -0600 Subject: [PATCH] Fix issue with binding generation --- data/binding/gen.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/data/binding/gen.go b/data/binding/gen.go index eae122a347..53ace98f92 100644 --- a/data/binding/gen.go +++ b/data/binding/gen.go @@ -694,6 +694,11 @@ 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) @@ -701,7 +706,6 @@ import "fyne.io/fyne/v2" 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 {