Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / lib / helpers / userSettings.ts
blob7af24ca555a05237fae8ebe85c415720c89dea2d
1 import type { UserSettings } from '../interfaces';
2 import { SETTINGS_PROTON_SENTINEL_STATE } from '../interfaces';
4 export const isProtonSentinelEligible = (userSettings: UserSettings) => {
5     return (
6         !!userSettings.HighSecurity.Eligible ||
7         userSettings.HighSecurity.Value === SETTINGS_PROTON_SENTINEL_STATE.ENABLED
8     );
9 };