From f3a30ed95bdc02a0152759cc65692c998122af2a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 20 Feb 2024 14:45:09 -0600 Subject: add scan duration label --- scan.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scan.go') diff --git a/scan.go b/scan.go index 38f1d44..de876e3 100644 --- a/scan.go +++ b/scan.go @@ -42,6 +42,7 @@ func (r *RepoList) ScanRepositories() (int, string) { tmp := strconv.Itoa(shown) + " repos shown" log.Info("Setting shownCount to", tmp) me.shownCount.SetText(tmp) + me.duration.SetText(s) log.Info("Scanned", i, "repositories. todo: count/show changes in", s) return i, s @@ -54,7 +55,7 @@ func (r *Repo) NewScan() bool { } // run the repostatus update - r.Status.UpdateNew() + r.Status.Update() // print out whatever changes have happened if c, ok := r.Status.Changed(); ok { -- cgit v1.2.3