Application specific preferences saving now enabled.

This commit is contained in:
Storm Dragon committed 2026-10-28 04:51:39 -04:00
1 parent f88e5b81a2
commit 60abcc37d9
23 files changed
+1004 -248

No files matched your search

+2
View File
@@ -53,6 +53,7 @@ type application struct {
saver *settingsSaver
speechPending bool
speechResults chan speechChangeResult
overrideLoads chan func()
speechChoices chan preferences.Discovery
prepareSpeech func(config.Speech) (speech.Transport, error)
@@ -99,6 +100,7 @@ func new_application(ctx context.Context, source Source, keyboards Keyboards, vo
a.ui.previewSpelling = a.preview_spelling
a.ui.discoverChoices, a.ui.saveSettings = options.SettingsChoices, a.save_menu_settings
a.speechResults = make(chan speechChangeResult, 1)
a.overrideLoads = make(chan func(), 1)
a.speechChoices = make(chan preferences.Discovery, 1)
a.prepareSpeech = prepare_speech
a.quick.selectSpeech = func(target config.Speech, done func(error, bool)) {