From 022072ce8bac114ea0a7b94132ed3b8630de2f90 Mon Sep 17 00:00:00 2001 From: ewy Date: Fri, 17 Apr 2026 00:00:40 +0200 Subject: * fix bug which prevented multiple sources from showing up in the tui at the same time * add padding to bottom of sources * add git status panel to bottom of tui --- model/source.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'model/source.go') diff --git a/model/source.go b/model/source.go index 3a5fe10..29cff05 100644 --- a/model/source.go +++ b/model/source.go @@ -18,6 +18,7 @@ type HydratedSource struct { HydratedTargets []HydratedTarget Aliases []string Icon string + Git *GitInfo } func (s *Source) Label() string { @@ -31,13 +32,13 @@ func (s *HydratedSource) Label() string { return s.Identity.Full } -func (s *Source) Hydrate(hydrators []Hydrator) *HydratedSource { +func (s *Source) Hydrate(hydrators []Modder) *HydratedSource { hs := &HydratedSource{ Source: s, HydratedTargets: make([]HydratedTarget, 0, len(s.Targets)), } for _, h := range hydrators { - err := h.Hydrate(s, hs) + err := h.Mod(s, hs) if err != nil { spool.Warn("%v", err) } -- cgit v1.3