| | |
| | | return s.cfg.CopyToClipboard |
| | | } |
| | | |
| | | // SetAutoPasteExperiment enables the isolated App Store automatic paste experiment. |
| | | func (s *ConfigService) SetAutoPasteExperiment(enabled bool) { |
| | | s.cfg.AutoPasteExperiment = enabled |
| | | config.Save(s.cfg) |
| | | } |
| | | |
| | | // GetAutoPasteExperiment returns whether the isolated automatic paste experiment is enabled. |
| | | func (s *ConfigService) GetAutoPasteExperiment() bool { |
| | | return s.cfg.AutoPasteExperiment |
| | | } |
| | | |
| | | // SetHideDockIcon sets whether the app should hide its Dock icon on macOS. |
| | | func (s *ConfigService) SetHideDockIcon(enabled bool) { |
| | | s.cfg.HideDockIcon = enabled |