diff options
author | Ollie H <renahlee@outlook.com> | 2023-05-02 14:27:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 16:27:00 -0500 |
commit | bd80db619b5a8c35171a8c70bdbab33d53a81371 (patch) | |
tree | 34201d185662952f1413230e766b72a8389cf217 /src/state/models/ui | |
parent | 74fbb4797922cfba654ad597803dfdd57598ae8d (diff) | |
download | voidsky-bd80db619b5a8c35171a8c70bdbab33d53a81371.tar.zst |
Pre-web image changes refactor (#560)
* Pre-web image changes refactor * Remove unneeded async behavior
Diffstat (limited to 'src/state/models/ui')
-rw-r--r-- | src/state/models/ui/shell.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts index 98e98ef8e..5942ec100 100644 --- a/src/state/models/ui/shell.ts +++ b/src/state/models/ui/shell.ts @@ -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 { |