mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-01-07 22:09:16 +00:00
Implemented:
- Now we can use SHA1 for hash function as fallback.
This commit is contained in:
@@ -1813,7 +1813,7 @@ ${stringifyYaml(pluginConfig)}`;
|
||||
.setClass("wizardHidden")
|
||||
.addDropdown((dropdown) =>
|
||||
dropdown
|
||||
.addOptions({ "": "Old Algorithm", "xxhash32": "xxhash32 (Fast)", "xxhash64": "xxhash64 (Fastest)" } as Record<HashAlgorithm, string>)
|
||||
.addOptions({ "": "Old Algorithm", "xxhash32": "xxhash32 (Fast)", "xxhash64": "xxhash64 (Fastest)", "sha1": "Fallback (Without WebAssembly)" } as Record<HashAlgorithm, string>)
|
||||
.setValue(this.plugin.settings.hashAlg)
|
||||
.onChange(async (value) => {
|
||||
this.plugin.settings.hashAlg = value as HashAlgorithm;
|
||||
|
||||
2
src/lib
2
src/lib
Submodule src/lib updated: 7e79c27035...f108111ae8
Reference in New Issue
Block a user