* trim alt text before setting * Drop `trim` from helpers.ts
This commit is contained in:
parent
003a75fd8e
commit
4d953f0504
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue