feat(INDA-383): daily stats.
[ProtonMail-WebClient.git] / packages / shared / lib / mail / images.ts
blob0b6860da5c70587f19e279a4702b2bf0363fb941
1 import type { MailSettings } from '@proton/shared/lib/interfaces';
2 import { SHOW_IMAGES } from '@proton/shared/lib/mail/mailSettings';
4 export const hasShowEmbedded = ({ HideEmbeddedImages }: Partial<MailSettings> = {}) =>
5     HideEmbeddedImages === SHOW_IMAGES.SHOW;
7 export const hasShowRemote = ({ HideRemoteImages }: Partial<MailSettings> = {}) =>
8     HideRemoteImages === SHOW_IMAGES.SHOW;