Fix: dont let notifications count go behind the icon (#3505)
This commit is contained in:
parent
eb2fd53340
commit
14208eef11
1 changed files with 1 additions and 1 deletions
|
@ -348,12 +348,12 @@ function Btn({
|
|||
accessible={accessible}
|
||||
accessibilityLabel={accessibilityLabel}
|
||||
accessibilityHint={accessibilityHint}>
|
||||
{icon}
|
||||
{notificationCount ? (
|
||||
<View style={[styles.notificationCount]}>
|
||||
<Text style={styles.notificationCountLabel}>{notificationCount}</Text>
|
||||
</View>
|
||||
) : undefined}
|
||||
{icon}
|
||||
</TouchableOpacity>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue