- {!isAndroid && {letterSpacing + ' ' + Common.Utils.Metric.getCurrentMetricName()}
}
+ {!isAndroid && {Number(letterSpacing).toFixed(2) + ' ' + Common.Utils.Metric.getCurrentMetricName()}
}
- {isAndroid && }
+ {isAndroid && }
diff --git a/apps/spreadsheeteditor/mobile/src/view/add/AddLink.jsx b/apps/spreadsheeteditor/mobile/src/view/add/AddLink.jsx
index 9cf334900..2b2086bc1 100644
--- a/apps/spreadsheeteditor/mobile/src/view/add/AddLink.jsx
+++ b/apps/spreadsheeteditor/mobile/src/view/add/AddLink.jsx
@@ -87,7 +87,13 @@ const AddLinkView = props => {
type="text"
placeholder={_t.textLink}
value={link}
- onChange={(event) => {setLink(event.target.value)}}
+ onChange={(event) => {
+ if (link.includes('https://')) {
+ setDisplayText(link)
+ }
+ setLink(event.target.value)
+ setDisplayText(event.target.value)
+ }}
className={isIos ? 'list-input-right' : ''}
/>
}