From 78c7f0175d0f6ceb932f3c1f960b3d3acc0a8e24 Mon Sep 17 00:00:00 2001 From: sunglocto Date: Sat, 10 Jan 2026 14:43:57 +0000 Subject: [PATCH] changes to follow 7bab52f033 --- main.go | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/main.go b/main.go index 698f5ce..3a33f18 100644 --- a/main.go +++ b/main.go @@ -1213,14 +1213,7 @@ func main() { joinARoom := fyne.NewMenuItem("connect to a room", func() { dialog.ShowEntryDialog("connect to a room", "JID:", func(s string) { - i := resourcePiloadingGif - gif, err := extraWidgets.NewAnimatedGifFromResource(i) - if err != nil { - panic(err) - } - gif.Start() - gif.Show() - d := dialog.NewCustom("Please wait", "Close", gif, w) + d := dialog.NewCustom("Please wait", "Close", widget.NewLabel("Connecting to "+s), w) d.Show() go func() { myjid, err := jid.Parse(s) @@ -1249,14 +1242,7 @@ func main() { beginADM := fyne.NewMenuItem("start a DM", func() { dialog.ShowEntryDialog("Start a DM", "JID:", func(s string) { - i := resourcePiloadingGif - gif, err := extraWidgets.NewAnimatedGifFromResource(i) - if err != nil { - panic(err) - } - gif.Start() - gif.Show() - d := dialog.NewCustom("Please wait", "Close", gif, w) + d := dialog.NewCustom("Please wait", "Close", widget.NewLabel("Opening a DM with " + s), w) d.Show() go func() { myjid, err := jid.Parse(s)