diff --git a/web/avatars/edit-user-avatar-menu.css b/web/avatars/edit-user-avatar-menu.css --- a/web/avatars/edit-user-avatar-menu.css +++ b/web/avatars/edit-user-avatar-menu.css @@ -18,3 +18,7 @@ .editAvatarBadge:hover { filter: brightness(0.8); } + +input[type='file'] { + display: none; +} diff --git a/web/avatars/edit-user-avatar-menu.react.js b/web/avatars/edit-user-avatar-menu.react.js --- a/web/avatars/edit-user-avatar-menu.react.js +++ b/web/avatars/edit-user-avatar-menu.react.js @@ -11,6 +11,7 @@ import EmojiAvatarSelectionModal from './emoji-avatar-selection-modal.react.js'; import MenuItem from '../components/menu-item.react.js'; import Menu from '../components/menu.react.js'; +import { allowedMimeTypeString } from '../media/file-utils.js'; const editIcon = (