diff options
Diffstat (limited to 'widgets/compose.go')
-rw-r--r-- | widgets/compose.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/compose.go b/widgets/compose.go index d9080d17..6fbc23a6 100644 --- a/widgets/compose.go +++ b/widgets/compose.go @@ -202,7 +202,8 @@ func (c *Composer) Encrypt() bool { func (c *Composer) updateCrypto() error { if c.crypto == nil { - c.crypto = newCryptoStatus(&c.config.Ui) + uiConfig := c.acct.UiConfig() + c.crypto = newCryptoStatus(&uiConfig) } var err error // Check if signKey is empty so we only run this once |