Pre-web image changes refactor (#560)

* Pre-web image changes refactor

* Remove unneeded async behavior
This commit is contained in:
Ollie H 2023-05-02 14:27:00 -07:00 committed by GitHub
parent 74fbb47979
commit bd80db619b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 35 deletions

View file

@ -4,6 +4,7 @@ import {makeAutoObservable} from 'mobx'
import {ProfileModel} from '../content/profile'
import {isObj, hasProp} from 'lib/type-guards'
import {Image as RNImage} from 'react-native-image-crop-picker'
import {ImageModel} from '../media/image'
export interface ConfirmModal {
name: 'confirm'
@ -43,8 +44,7 @@ export interface CropImageModal {
export interface AltTextImageModal {
name: 'alt-text-image'
prevAltText: string
onAltTextSet: (altText?: string) => void
image: ImageModel
}
export interface AltTextImageReadModal {