Rework native autocomplete (#5521)

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
Hailey
2024-09-27 15:26:28 -07:00
committed by GitHub
parent 4b5d6e6efb
commit 587c0c6257
4 changed files with 105 additions and 120 deletions
+3 -4
View File
@@ -351,17 +351,16 @@ function Btn({
return (
<PressableScale
testID={testID}
style={styles.ctrl}
style={[styles.ctrl, a.flex_1]}
onPress={onPress}
onLongPress={onLongPress}
accessible={accessible}
accessibilityLabel={accessibilityLabel}
accessibilityHint={accessibilityHint}
targetScale={0.8}
contentContainerStyle={[a.flex_1]}>
targetScale={0.8}>
{icon}
{notificationCount ? (
<View style={[styles.notificationCount, {top: -5}]}>
<View style={[styles.notificationCount]}>
<Text style={styles.notificationCountLabel}>{notificationCount}</Text>
</View>
) : undefined}