Move sync defaults into vault settings
This commit is contained in:
+1
-1
@@ -3595,7 +3595,7 @@ func TestUILoadSettingsFallsBackToLegacySyncDefaultsInUIPreferences(t *testing.T
|
||||
|
||||
dir := t.TempDir()
|
||||
legacyPath := filepath.Join(dir, "ui-prefs.json")
|
||||
content, err := json.MarshalIndent(uiPreferences{
|
||||
content, err := json.MarshalIndent(legacySyncPreferences{
|
||||
SyncSourceDefault: string(syncSourceRemote),
|
||||
SyncDirectionDefault: string(syncDirectionPush),
|
||||
}, "", " ")
|
||||
|
||||
Reference in New Issue
Block a user