Add profile image lightbox

This commit is contained in:
Paul Frazee
2022-12-12 14:54:56 -06:00
parent a7b23613d3
commit 684f67a8e0
11 changed files with 154 additions and 47 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
import {colors} from '../../lib/styles'
import {toShareUrl} from '../../../lib/strings'
import {useStores} from '../../../state'
import {ConfirmModel} from '../../../state/models/shell-ui'
import {ConfirmModal} from '../../../state/models/shell-ui'
import {TABS_ENABLED} from '../../../build-flags'
const HITSLOP = {left: 10, top: 10, right: 10, bottom: 10}
@@ -122,7 +122,7 @@ export function PostDropdownBtn({
label: 'Delete post',
onPress() {
store.shell.openModal(
new ConfirmModel(
new ConfirmModal(
'Delete this post?',
'Are you sure? This can not be undone.',
onDeletePost,