Skip to content

Commit

Permalink
small styling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KKA11010 committed Jun 21, 2023
1 parent ec1af6a commit 9234fff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ interface IIconBtnProps {
}

export function IconBtn({ icon, onPress, testId }: IIconBtnProps) {
const { color, highlight } = useContext(ThemeContext)
const { highlight } = useContext(ThemeContext)
return (
<SafeAreaView>
<TouchableOpacity
accessibilityRole='button'
activeOpacity={.5}
style={[styles.iconBtn, { backgroundColor: color.BACKGROUND, borderColor: hi[highlight] }]}
style={[styles.iconBtn, { backgroundColor: hi[highlight], borderColor: hi[highlight] }]}
onPress={onPress}
testID={testId}
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/screens/Addressbook/Book.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function AddressBook({ nav, isModal, closeModal, setInput }: IAdd
{!isModal &&
<View style={styles.newContactBtn}>
<IconBtn
icon={<PlusIcon width={15} height={15} color={hi[highlight]} />}
icon={<PlusIcon width={15} height={15} color='#FAFAFA' />}
onPress={() => setOpenNew({ open: true, isOwner: false })}
testId='testNewContact'
/>
Expand Down Expand Up @@ -270,7 +270,7 @@ const styles = StyleSheet.create({
},
addOwnAddress: {
paddingVertical: 10,
marginRight: 16,
marginHorizontal: 20,
},
nameEntry: {
width: '100%',
Expand Down
2 changes: 1 addition & 1 deletion src/components/screens/Mints/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default function Mints({ navigation, route }: TMintsPageProps) {
{/* add new mint button */}
<View style={styles.newMint}>
<IconBtn
icon={<PlusIcon width={15} height={15} color={hi[highlight]} />}
icon={<PlusIcon width={15} height={15} color='#FAFAFA' />}
onPress={() => setNewMintModal(true)}
/>
</View>
Expand Down

0 comments on commit 9234fff

Please sign in to comment.