mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-09-01 16:27:07 +00:00
fixed: fix auto-correction mismatch
This commit is contained in:
@@ -128,7 +128,7 @@ export class ModuleResolvingMismatchedTweaks extends AbstractModule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async _checkAndAskResolvingMismatchedTweaks(preferred: TweakValues): Promise<[TweakValues | boolean, boolean]> {
|
async _checkAndAskResolvingMismatchedTweaks(preferred: TweakValues): Promise<[TweakValues | boolean, boolean]> {
|
||||||
const mine = extractObject(TweakValuesShouldMatchedTemplate, this.settings) as TweakValues;
|
const mine = extractObject(TweakValuesTemplate, this.settings) as TweakValues;
|
||||||
const mismatchedKeys = this._collectMismatchedTweakKeys(mine, preferred);
|
const mismatchedKeys = this._collectMismatchedTweakKeys(mine, preferred);
|
||||||
const autoAcceptSide = await this._shouldAutoAcceptCompatibleLossy(mine, preferred, mismatchedKeys);
|
const autoAcceptSide = await this._shouldAutoAcceptCompatibleLossy(mine, preferred, mismatchedKeys);
|
||||||
if (autoAcceptSide === "REMOTE") {
|
if (autoAcceptSide === "REMOTE") {
|
||||||
|
|||||||
Reference in New Issue
Block a user