diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-12-18 19:03:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 11:03:53 -0800 |
commit | 05c43ed998430fb7d8d2a57bed54f2f24c71dd88 (patch) | |
tree | 250ad95d2147ec8c96628ccd189717e018322a49 /src/view/com/util/EmptyState.tsx | |
parent | 5c4f870898a7f41c2b7cb554c1b585309ec3d3c9 (diff) | |
download | voidsky-05c43ed998430fb7d8d2a57bed54f2f24c71dd88.tar.zst |
Better list empty state (#7157)
* render header conditionally, use modern footer * move add button to empty state if empty * center align empty state * Tweak add people btn --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/view/com/util/EmptyState.tsx')
-rw-r--r-- | src/view/com/util/EmptyState.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/com/util/EmptyState.tsx b/src/view/com/util/EmptyState.tsx index a6352c2fe..6b2600a40 100644 --- a/src/view/com/util/EmptyState.tsx +++ b/src/view/com/util/EmptyState.tsx @@ -26,9 +26,7 @@ export function EmptyState({ const {isTabletOrDesktop} = useWebMediaQueries() const iconSize = isTabletOrDesktop ? 64 : 48 return ( - <View - testID={testID} - style={[isTabletOrDesktop && {paddingRight: 20}, style]}> + <View testID={testID} style={style}> <View style={[ styles.iconContainer, |