From d45c07eb6a0955a24efec7bd915ba19746042778 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Sun, 3 Jul 2022 10:11:12 -0500 Subject: uiconfig: use pointer references to uiConfig This patch changes references to uiConfig in function signatures and structs to be pointers. Signed-off-by: Tim Culverhouse Acked-by: Robin Jarry --- widgets/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/account.go') diff --git a/widgets/account.go b/widgets/account.go index 7c18004..725090e 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -36,7 +36,7 @@ type AccountView struct { newConn bool // True if this is a first run after a new connection/reconnection } -func (acct *AccountView) UiConfig() config.UIConfig { +func (acct *AccountView) UiConfig() *config.UIConfig { var folder string if dirlist := acct.Directories(); dirlist != nil { folder = dirlist.Selected() -- cgit v1.2.3