1
0
forked from sunglocto/pi-im

Format code

This commit is contained in:
2025-08-07 23:12:40 +01:00
parent 59d83cb185
commit 52e38e7e66

View File

@@ -201,8 +201,6 @@ func CreateUITab(chatJidStr string) ChatTabUI {
}, },
) )
scroller.OnSelected = func(id widget.ListItemID) { scroller.OnSelected = func(id widget.ListItemID) {
selectedId = id selectedId = id
} }
@@ -655,7 +653,6 @@ func main() {
}, w) }, w)
}) })
jtb := fyne.NewMenuItem("jump to bottom", func() { jtb := fyne.NewMenuItem("jump to bottom", func() {
selectedScroller, ok := AppTabs.Selected().Content.(*widget.List) selectedScroller, ok := AppTabs.Selected().Content.(*widget.List)
if !ok { if !ok {
@@ -790,7 +787,6 @@ func main() {
}, w) }, w)
}) })
savedata := fyne.NewMenuItem("DEBUG: Save tab data to disk", func() { savedata := fyne.NewMenuItem("DEBUG: Save tab data to disk", func() {
d := []ChatTab{} d := []ChatTab{}
for _, v := range chatTabs { for _, v := range chatTabs {
@@ -911,8 +907,6 @@ func main() {
} }
} }
tab := chatTabs[activeChatJid] tab := chatTabs[activeChatJid]
UITab := UITabs[activeChatJid] UITab := UITabs[activeChatJid]
if tab.isMuc { if tab.isMuc {