* 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) {
|
||||
this.altText = altText
|
||||
setAltText(altText: string) {
|
||||
this.altText = altText.trim()
|
||||
}
|
||||
|
||||
// Only compress prior to upload
|
||||
|
||||
Reference in New Issue
Block a user