From 831b9c18850b53e4c7998da87e84ea5654626049 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 25 Jan 2024 02:40:59 -0600 Subject: [PATCH] add auto hide read only option Signed-off-by: Jeff Carr --- globalDisplayOptions.go | 2 ++ structs.go | 1 + 2 files changed, 3 insertions(+) diff --git a/globalDisplayOptions.go b/globalDisplayOptions.go index 2f957cc..b8ecc19 100644 --- a/globalDisplayOptions.go +++ b/globalDisplayOptions.go @@ -44,6 +44,8 @@ func globalDisplayOptions(box *gui.Node) { }) */ + me.autoHideReadOnly = group1.NewCheckbox("Hide read-only repos").SetChecked(true) + me.autoHidePerfect = group1.NewCheckbox("Hide Perfectly clean repos").SetChecked(false) me.autoHidePerfect.Custom = func() { if me.autoHidePerfect.Checked() { diff --git a/structs.go b/structs.go index 760ee2e..f60683b 100644 --- a/structs.go +++ b/structs.go @@ -23,6 +23,7 @@ type autoType struct { // #### autotypist Global Display Options autoHidePerfect *gui.Node + autoHideReadOnly *gui.Node // #### autotypist Global Build Options // what to change all the branches to