diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-25 18:25:31 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-25 18:25:31 -0700 |
commit | 2c970781b767c8fafdb48768fb4fc0faa62f6428 (patch) | |
tree | 0d03b76b487dc9102e3a660a29211bfaa60ac855 /src | |
parent | 651f3abc1ff0913347ed7bfb824f8e280f87a850 (diff) | |
download | voidsky-2c970781b767c8fafdb48768fb4fc0faa62f6428.tar.zst |
replace profile with hamburger menu in search as well
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/search/HeaderWithInput.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/view/com/search/HeaderWithInput.tsx b/src/view/com/search/HeaderWithInput.tsx index 7d0eeb2db..43c15030a 100644 --- a/src/view/com/search/HeaderWithInput.tsx +++ b/src/view/com/search/HeaderWithInput.tsx @@ -58,7 +58,7 @@ export function HeaderWithInput({ accessibilityRole="button" accessibilityLabel="Back" accessibilityHint=""> - <UserAvatar size={30} avatar={store.me.avatar} /> + <FontAwesomeIcon icon="bars" size={18} color={pal.colors.textLight} /> </TouchableOpacity> <View style={[ @@ -121,6 +121,7 @@ const styles = StyleSheet.create({ header: { flexDirection: 'row', alignItems: 'center', + justifyContent: 'center', paddingHorizontal: 12, paddingVertical: 4, }, @@ -128,7 +129,10 @@ const styles = StyleSheet.create({ width: 30, height: 30, borderRadius: 30, - marginHorizontal: 6, + marginRight: 6, + paddingBottom: 2, + alignItems: 'center', + justifyContent: 'center', }, headerSearchContainer: { flex: 1, |