From 6d316d563e43e60760d722ca0ed42df2f9056c44 Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Fri, 23 Sep 2022 15:37:22 -0700 Subject: [PATCH] fixing layout on cards drawer --- app/mobile/src/session/Session.jsx | 2 +- app/mobile/src/session/cards/Cards.jsx | 14 +++----------- app/mobile/src/session/cards/Cards.styled.js | 2 +- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/app/mobile/src/session/Session.jsx b/app/mobile/src/session/Session.jsx index 713ca22a..4a2e1548 100644 --- a/app/mobile/src/session/Session.jsx +++ b/app/mobile/src/session/Session.jsx @@ -101,7 +101,7 @@ export function Session() { // drawered containers const CardDrawerContent = ({ navigation, setContact, openRegistry }) => { return ( - + ) diff --git a/app/mobile/src/session/cards/Cards.jsx b/app/mobile/src/session/cards/Cards.jsx index 387eaff6..555ba4a4 100644 --- a/app/mobile/src/session/cards/Cards.jsx +++ b/app/mobile/src/session/cards/Cards.jsx @@ -29,7 +29,7 @@ export function Cards({ openRegistry }) { autoCapitalize="none" placeholderTextColor={Colors.disabled} placeholder="Contacts" /> - + New @@ -53,8 +53,8 @@ export function Cards({ openRegistry }) { - - + + @@ -64,14 +64,6 @@ export function Cards({ openRegistry }) { renderItem={({ item }) => } keyExtractor={item => item.cardId} /> - { !state.tabbed && ( - - openRegistry()}> - - Find Contacts - - - )} ); } diff --git a/app/mobile/src/session/cards/Cards.styled.js b/app/mobile/src/session/cards/Cards.styled.js index 07c1b678..78714eb4 100644 --- a/app/mobile/src/session/cards/Cards.styled.js +++ b/app/mobile/src/session/cards/Cards.styled.js @@ -76,7 +76,7 @@ export const styles = StyleSheet.create({ }, add: { backgroundColor: Colors.primary, - marginLeft: 16, + marginLeft: 8, display: 'flex', flexDirection: 'row', alignItems: 'center',