Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5130dfc9c8 |
@@ -104,3 +104,9 @@ describe('buildSyncedContent', () => {
|
|||||||
assert.deepEqual(c.settings, pickSyncable(base));
|
assert.deepEqual(c.settings, pickSyncable(base));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('device-local keys', () => {
|
||||||
|
it('keeps enterForNewline on each device (#348)', () => {
|
||||||
|
assert.equal(DEVICE_LOCAL_KEYS.has('enterForNewline'), true);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
@@ -49,6 +49,9 @@ export const DEVICE_LOCAL_KEYS: ReadonlySet<keyof Settings> = new Set<keyof Sett
|
|||||||
'ringtoneVolume',
|
'ringtoneVolume',
|
||||||
'soundboardVolume',
|
'soundboardVolume',
|
||||||
'cameraOnJoin',
|
'cameraOnJoin',
|
||||||
|
// [Gitea #348] Enter = new line suits a phone keyboard, Enter = send a desktop one;
|
||||||
|
// syncing it switched the desktop to Ctrl+Enter when set on the phone.
|
||||||
|
'enterForNewline',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/** The subset of `settings` that is synced (deep-copied so callers can't alias). */
|
/** The subset of `settings` that is synced (deep-copied so callers can't alias). */
|
||||||
|
|||||||
Reference in New Issue
Block a user