feat: add warning to note options menu if note size is >0.5mb (#851)

This commit is contained in:
Aman Harwara
2022-02-07 20:38:19 +05:30
committed by GitHub
parent 9932c2a177
commit 5605baeb57
11 changed files with 52 additions and 12 deletions

View File

@@ -62,6 +62,7 @@ import UnarchiveIcon from '../../icons/ic-unarchive.svg';
import UnpinIcon from '../../icons/ic-pin-off.svg';
import UserIcon from '../../icons/ic-user.svg';
import UserSwitch from '../../icons/ic-user-switch.svg';
import WarningIcon from '../../icons/ic-warning.svg';
import WindowIcon from '../../icons/ic-window.svg';
import { FunctionalComponent } from 'preact';
@@ -133,6 +134,7 @@ const ICONS = {
unarchive: UnarchiveIcon,
unpin: UnpinIcon,
user: UserIcon,
warning: WarningIcon,
window: WindowIcon,
};