[FIX] Server autocomplete text breaking line (#2774)
This commit is contained in:
parent
5d2050b8af
commit
59fd703f52
|
@ -34,8 +34,8 @@ const Item = ({
|
||||||
}) => (
|
}) => (
|
||||||
<Touch style={styles.container} onPress={() => onPress(item.url)} theme={theme} testID={`server-history-${ item.url }`}>
|
<Touch style={styles.container} onPress={() => onPress(item.url)} theme={theme} testID={`server-history-${ item.url }`}>
|
||||||
<View style={styles.content}>
|
<View style={styles.content}>
|
||||||
<Text style={[styles.server, { color: themes[theme].bodyText }]}>{item.url}</Text>
|
<Text numberOfLines={1} style={[styles.server, { color: themes[theme].bodyText }]}>{item.url}</Text>
|
||||||
<Text style={[styles.username, { color: themes[theme].auxiliaryText }]}>{item.username}</Text>
|
<Text numberOfLines={1} style={[styles.username, { color: themes[theme].auxiliaryText }]}>{item.username}</Text>
|
||||||
</View>
|
</View>
|
||||||
<BorderlessButton onPress={() => onDelete(item)} testID={`server-history-delete-${ item.url }`}>
|
<BorderlessButton onPress={() => onDelete(item)} testID={`server-history-delete-${ item.url }`}>
|
||||||
<CustomIcon name='delete' size={24} color={themes[theme].auxiliaryText} />
|
<CustomIcon name='delete' size={24} color={themes[theme].auxiliaryText} />
|
||||||
|
|
Loading…
Reference in New Issue