Skip to content

Commit

Permalink
feat(mosip#625):[Tilak/Adityan] fix Verify Button going behind the sc…
Browse files Browse the repository at this point in the history
…reen and Purple theme button being large in multiple places
  • Loading branch information
tilak-puli committed Mar 10, 2023
1 parent fa142c6 commit 5f30f7b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
1 change: 0 additions & 1 deletion components/ui/themes/PurpleTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ export const PurpleTheme = {
backgroundColor: Colors.Transparent,
},
radius: {
flex: 1,
borderRadius: 10,
backgroundColor: Colors.Purple,
},
Expand Down
37 changes: 19 additions & 18 deletions screens/QrLogin/MyBindedVcs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const MyBindedVcs: React.FC<MyBindedVcsProps> = (props) => {
<Column fill style={{ display: props.isVisible ? 'flex' : 'none' }}>
<Column fill>
{controller.vcKeys.length > 0 && (
<React.Fragment>
<>
<Column
fill
backgroundColor={Theme.Colors.lightGreyBackgroundColor}>
Expand All @@ -45,24 +45,25 @@ export const MyBindedVcs: React.FC<MyBindedVcsProps> = (props) => {
))}
</Column>
</Column>
<Column
style={{
borderTopRightRadius: 27,
borderTopLeftRadius: 27,
}}
padding="16 24"
margin="2 0 0 0"
elevation={2}>
<Button
title={t('verify')}
margin="0 0 12 0"
styles={Theme.ButtonStyles.radius}
disabled={controller.selectedIndex == null}
onPress={controller.VERIFY}
/>
</Column>
</Column>
</React.Fragment>
<Column
fill
align="flex-end"
style={{
borderTopRightRadius: 27,
borderTopLeftRadius: 27,
}}
padding="16 24"
margin="2 0 0 0"
elevation={2}>
<Button
title={t('verify')}
styles={Theme.ButtonStyles.radius}
disabled={controller.selectedIndex == null}
onPress={controller.VERIFY}
/>
</Column>
</>
)}
{controller.vcKeys.length === 0 && (
<React.Fragment>
Expand Down

0 comments on commit 5f30f7b

Please sign in to comment.