about summary refs log tree commit diff
path: root/src/state/models/ui
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-02 14:27:00 -0700
committerGitHub <noreply@github.com>2023-05-02 16:27:00 -0500
commitbd80db619b5a8c35171a8c70bdbab33d53a81371 (patch)
tree34201d185662952f1413230e766b72a8389cf217 /src/state/models/ui
parent74fbb4797922cfba654ad597803dfdd57598ae8d (diff)
downloadvoidsky-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.ts4
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 {