From eb7306b16512e317f477c7a28e1e3b0ce5c65ff8 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 4 Oct 2023 13:28:07 -0700 Subject: Profile UI tweaks (#1607) * Use inverted color instead of primary color for press state * Fix: add missing border to empty state --- src/view/com/profile/ProfileHeader.tsx | 4 ++-- src/view/com/util/EmptyState.tsx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index 57fa22f1e..baf95af6c 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -392,8 +392,8 @@ const ProfileHeaderLoaded = observer(function ProfileHeaderLoadedImpl({ { paddingHorizontal: 10, backgroundColor: showSuggestedFollows - ? colors.blue3 - : pal.viewLight.backgroundColor, + ? pal.colors.text + : pal.colors.backgroundLight, }, ]} accessibilityRole="button" diff --git a/src/view/com/util/EmptyState.tsx b/src/view/com/util/EmptyState.tsx index a495fcd3f..7486b212f 100644 --- a/src/view/com/util/EmptyState.tsx +++ b/src/view/com/util/EmptyState.tsx @@ -22,7 +22,7 @@ export function EmptyState({ }) { const pal = usePalette('default') return ( - + {icon === 'user-group' ? ( @@ -50,6 +50,7 @@ const styles = StyleSheet.create({ container: { paddingVertical: 20, paddingHorizontal: 36, + borderTopWidth: 1, }, iconContainer: { flexDirection: 'row', -- cgit 1.4.1