* trim alt text before setting * Drop `trim` from helpers.tszio/stable
parent
003a75fd8e
commit
4d953f0504
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue