fix and simplify font settings

This commit is contained in:
Henry Jameson 2026-04-29 12:30:00 +03:00
commit 34a7bf83b2
6 changed files with 15 additions and 15 deletions

View file

@ -238,8 +238,8 @@ describe('The SyncConfig store', () => {
store.pushSyncConfig = () => {
/* no-op */
}
store.setPreference({ path: 'simple.fontInput.family', value: 'test' })
store.unsetPreference({ path: 'simple.fontInput.family' })
store.setPreference({ path: 'simple.fontInput', value: 'test' })
store.unsetPreference({ path: 'simple.fontInput' })
store.updateCache(store, { username: 'test' })
expect(store.prefsStorage.simple.fontInput).to.not.have.property(
'family',