mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-25 10:33:21 +00:00
Implemented:
- Now we can use SHA1 for hash function as fallback.
This commit is contained in:
1 parent
b337a05b5a
commit
cf5ecd8922
2 files changed
+2
-2
No files matched your search
@@ -1813,7 +1813,7 @@ ${stringifyYaml(pluginConfig)}`;
|
|||||||
.setClass("wizardHidden")
|
.setClass("wizardHidden")
|
||||||
.addDropdown((dropdown) =>
|
.addDropdown((dropdown) =>
|
||||||
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)
|
.setValue(this.plugin.settings.hashAlg)
|
||||||
.onChange(async (value) => {
|
.onChange(async (value) => {
|
||||||
this.plugin.settings.hashAlg = value as HashAlgorithm;
|
this.plugin.settings.hashAlg = value as HashAlgorithm;
|
||||||
|
|||||||
+1
-1
Submodule src/lib updated: 7e79c27035...f108111ae8.
Reference in new issue
Block a user