1
0
mirror of https://github.com/vrtmrz/obsidian-livesync.git synced 2025-02-07 19:30:08 +02:00

Implemented:

- Now we can use SHA1 for hash function as fallback.
This commit is contained in:
vorotamoroz 2023-12-04 19:39:04 +09:00
parent b337a05b5a
commit cf5ecd8922
2 changed files with 2 additions and 2 deletions

View File

@ -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;

@ -1 +1 @@
Subproject commit 7e79c2703520b6a9e31e50c94f12ce0d948fd745
Subproject commit f108111ae86561f8b25bef12cb9452a27d9f46ce