diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-07-03 10:11:12 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-03 21:32:18 +0200 |
commit | d45c07eb6a0955a24efec7bd915ba19746042778 (patch) | |
tree | dc8fdd2ad6e7a99a9af458235bffc3071254fdfa /widgets/status.go | |
parent | 12e8217d1fa0f4c4c83eebcc7473ecb8f0c072ba (diff) | |
download | aerc-d45c07eb6a0955a24efec7bd915ba19746042778.zip |
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 <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/status.go')
-rw-r--r-- | widgets/status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/status.go b/widgets/status.go index 9944e0d..c5559d3 100644 --- a/widgets/status.go +++ b/widgets/status.go @@ -108,7 +108,7 @@ func (status *StatusLine) Expire() { status.stack = nil } -func (status *StatusLine) uiConfig() config.UIConfig { +func (status *StatusLine) uiConfig() *config.UIConfig { return status.aerc.SelectedAccountUiConfig() } |