mirror of
https://github.com/broekema41/obsidian-vcf-contacts.git
synced 2026-07-22 05:42:58 +00:00
Refs #17 a littl cleanup befor pull review
This commit is contained in:
parent
8feb076c49
commit
dbe12e89b3
2 changed files with 9 additions and 4 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import * as React from "react";
|
||||
import { Notice } from "obsidian";
|
||||
import { updateSetting } from "src/context/sharedSettingsContext";
|
||||
import {ContactsPluginSettings, SyncSelected} from "src/settings/settings";
|
||||
import { ContactsPluginSettings } from "src/settings/settings";
|
||||
import { useSettings } from "src/ui/hooks/settingsHook";
|
||||
import { Icon } from "src/ui/sidebar/components/elements/Icon";
|
||||
import {DEFAULT_SETTINGS} from "../../../settings/setting";
|
||||
import {parseKey} from "../../../contacts";
|
||||
import {VCardSupportedKey} from "../../../contacts/vcard";
|
||||
import { DEFAULT_SETTINGS } from "src/settings/setting";
|
||||
import { parseKey } from "src/contacts";
|
||||
import { VCardSupportedKey } from "src/contacts/vcard";
|
||||
|
||||
type ValidateAddFieldResult = {
|
||||
valid: boolean;
|
||||
|
|
|
|||
|
|
@ -310,3 +310,8 @@ describe('vcard tostring', () => {
|
|||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
describe('vcard addDefaultFields', () => {
|
||||
// TODO: write some tests for this.
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue