Update dependencies in go.sum to latest versions

This commit removes outdated dependencies and adds updated versions of required modules in the `go.sum` file. The changes ensure the project uses the latest compatible releases, improving stability and maintaining compatibility with current updates.
This commit is contained in:
2025-05-10 18:09:38 +05:00
parent da7d9c8035
commit cce45ee791
11 changed files with 204 additions and 720 deletions

View File

@@ -26,7 +26,7 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
w.Resize(windowSize)
w.CenterOnScreen()
go func() {
fyne.Do(func() {
/**
* Bug fixed.
* When starting the program, sometimes the window was displayed incorrectly.
@@ -35,7 +35,7 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
windowSize.Height += 1
time.Sleep(time.Millisecond * 500)
w.Resize(windowSize)
}()
})
return Window{
windowFyne: w,
@@ -44,7 +44,9 @@ func newWindow(w fyne.Window, layout LayoutContract) Window {
}
func (w Window) SetContent(content fyne.CanvasObject) {
w.windowFyne.SetContent(w.layout.SetContent(content))
fyne.Do(func() {
w.windowFyne.SetContent(w.layout.SetContent(content))
})
}
func (w Window) NewFileOpen(callback func(fyne.URIReadCloser, error), location fyne.ListableURI) *dialog.FileDialog {