* trim alt text before setting * Drop `trim` from helpers.ts
This commit is contained in:
@@ -120,8 +120,8 @@ export class ImageModel implements Omit<RNImage, 'size'> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async setAltText(altText: string) {
|
setAltText(altText: string) {
|
||||||
this.altText = altText
|
this.altText = altText.trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only compress prior to upload
|
// Only compress prior to upload
|
||||||
|
|||||||
Reference in New Issue
Block a user