From 7916b26aadb7e003728d9dc653ab8b8deabf4076 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 27 Jan 2023 15:51:24 -0600 Subject: Break out the web/native image picking code and make some progress on the web version --- src/view/com/modals/Modal.web.tsx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/view/com/modals/Modal.web.tsx') diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 25493312d..44ea95f07 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -11,6 +11,7 @@ import * as EditProfileModal from './EditProfile' import * as ServerInputModal from './ServerInput' import * as ReportPostModal from './ReportPost' import * as ReportAccountModal from './ReportAccount' +import * as CropImageModal from './crop-image/CropImage.web' export const Modal = observer(function Modal() { const store = useStores() @@ -50,6 +51,12 @@ export const Modal = observer(function Modal() { element = } else if (store.shell.activeModal?.name === 'report-account') { element = + } else if (store.shell.activeModal?.name === 'crop-image') { + element = ( + + ) } else { return null } -- cgit 1.4.1