summaryrefslogtreecommitdiff
path: root/gui.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui.go')
-rw-r--r--gui.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui.go b/gui.go
index c3256eb..3f0e42e 100644
--- a/gui.go
+++ b/gui.go
@@ -27,6 +27,14 @@ func (l *Limox) rosterView(e system.FrameEvent) {
Spacing: layout.SpaceStart,
}
+ widgets := make([]layout.Widget, 0)
+ for _, v := range l.Roster {
+ widgets = append(widgets, func(gtx layout.Context) layout.Dimensions {
+ jid := material.H6(l.Theme, v.Jid)
+ return jid.Layout(gtx)
+ })
+ }
+
flex.Layout(gtx,
layout.Rigid(
func(gtx layout.Context) layout.Dimensions {