mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-23 06:59:10 -04:00
if no count text is defined, username should be centered
This commit is contained in:
@@ -70,9 +70,11 @@ const UserListItem = ( {
|
||||
{user?.login}
|
||||
</Body1>
|
||||
)}
|
||||
<List2 className="mt-1" maxFontSizeMultiplier={1.5}>
|
||||
{countText}
|
||||
</List2>
|
||||
{!!countText && (
|
||||
<List2 className="mt-1" maxFontSizeMultiplier={1.5}>
|
||||
{countText}
|
||||
</List2>
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
</UserListItemContainer>
|
||||
|
||||
Reference in New Issue
Block a user