1
0
forked from sunglocto/pi-im

indicator when user is on note to self

This commit is contained in:
2026-01-10 14:02:18 +00:00
parent 202e3ba6b1
commit 536ce4cae6

View File

@@ -1670,9 +1670,13 @@ func main() {
}
chatSidebar = *container.NewGridWithColumns(1, container.NewVScroll(box))
} else {
if activeChatJid == config.Login.User {
chatSidebar = *container.NewVBox(widget.NewRichTextFromMarkdown("# " + activeChatJid), widget.NewLabel("Hey, that's you!"))
} else {
chatSidebar = *container.NewVBox(widget.NewRichTextFromMarkdown("# " + activeChatJid))
}
}
chatSidebar.Hidden = false
chatSidebar.Refresh()
MainSplit.Resize(MainSplit.Size())