func (v *optionsMenu) setFromConfig(c *config.ApplicationConfig) { doInUIThread(func() { v.encryptConfig.SetActive(c.HasEncryptedStorage()) }) }