mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-18 13:28:12 -04:00
Fix duplicate export warning (#2004)
This commit is contained in:
committed by
Leendert de Borst
parent
52f7aa8f40
commit
a34fbdcf3f
@@ -4,7 +4,8 @@ import { useTranslation } from 'react-i18next';
|
||||
import PageTitle from '@/entrypoints/popup/components/PageTitle';
|
||||
import { useLoading } from '@/entrypoints/popup/context/LoadingContext';
|
||||
|
||||
import { AutofillMatchingMode, LocalPreferencesService } from '@/utils/LocalPreferencesService';
|
||||
import { LocalPreferencesService } from '@/utils/LocalPreferencesService';
|
||||
import { AutofillMatchingMode } from '@/utils/RustCore';
|
||||
|
||||
/**
|
||||
* Autofill settings type.
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { AutofillMatchingMode } from '@/utils/RustCore';
|
||||
|
||||
import { storage } from '#imports';
|
||||
|
||||
/*
|
||||
@@ -48,15 +50,6 @@ const KEYS = {
|
||||
PASSWORD_UNLOCK_FAILED_ATTEMPTS: 'local:password_unlock_failed_attempts',
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Autofill matching mode options.
|
||||
*/
|
||||
export enum AutofillMatchingMode {
|
||||
DEFAULT = 'default',
|
||||
URL_SUBDOMAIN = 'url_subdomain',
|
||||
URL_EXACT = 'url_exact',
|
||||
}
|
||||
|
||||
/**
|
||||
* Service for managing user preferences that are stored locally (not in the vault).
|
||||
* Provides typed getters/setters with sensible defaults for all local storage settings.
|
||||
|
||||
Reference in New Issue
Block a user