diff options
Diffstat (limited to 'widgets/authinfo.go')
-rw-r--r-- | widgets/authinfo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/authinfo.go b/widgets/authinfo.go index 08795541..878a0c3c 100644 --- a/widgets/authinfo.go +++ b/widgets/authinfo.go @@ -14,10 +14,10 @@ type AuthInfo struct { ui.Invalidatable authdetails *auth.Details showInfo bool - uiConfig config.UIConfig + uiConfig *config.UIConfig } -func NewAuthInfo(auth *auth.Details, showInfo bool, uiConfig config.UIConfig) *AuthInfo { +func NewAuthInfo(auth *auth.Details, showInfo bool, uiConfig *config.UIConfig) *AuthInfo { return &AuthInfo{authdetails: auth, showInfo: showInfo, uiConfig: uiConfig} } |