Skip to content

Commit

Permalink
fix onboarding finish screen UI for ipad (#1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
devkudasov authored Jul 2, 2024
1 parent 607f463 commit ce1932a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/finish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
PopupContainer,
Spacer,
Text,
TextVariant,
} from '@app/components/ui';
import {useTheme} from '@app/hooks';
import {I18N} from '@app/i18n';
Expand All @@ -33,15 +34,20 @@ export const Finish = ({onFinish, testID, title}: FinishProps) => {

return (
<PopupContainer testID={testID}>
<Spacer centered>
<Spacer>
<LottieWrap
style={styles.animation}
source={animation}
autoPlay={true}
loop={false}
/>
<Text
variant={TextVariant.t4}
i18n={title}
style={styles.title}
testID={`${testID}_title`}
/>
</Spacer>
<Text t4 i18n={title} style={styles.title} testID={`${testID}_title`} />
<Button
style={styles.button}
variant={ButtonVariant.contained}
Expand All @@ -59,7 +65,6 @@ const styles = StyleSheet.create({
width: 380,
},
title: {
marginBottom: 76,
textAlign: 'center',
width: 300,
alignSelf: 'center',
Expand Down

0 comments on commit ce1932a

Please sign in to comment.