Skip to content

Commit

Permalink
fix(ui): minor ui fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr committed May 8, 2024
1 parent dd81473 commit 9a23f10
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/screens/Lightning/CustomSetup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,8 @@ const CustomSetup = ({
blocktankInfo.options.max0ConfClientBalanceSat,
]);

const title = spending ? 'transfer.title_numpad' : 'transfer.title_receive';

return (
<ThemedView style={styles.root}>
<SafeAreaInset type="top" />
Expand All @@ -489,7 +491,7 @@ const CustomSetup = ({
<Display>
<Trans
t={t}
i18nKey="transfer.title_numpad"
i18nKey={title}
components={{ accent: <Display color="purple" /> }}
/>
</Display>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Onboarding/Slideshow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ const Slideshow = ({
ref={ref}
loop={false}
width={dimensions.width}
height={dimensions.height}
data={slides}
defaultIndex={skipIntro ? slides.length - 1 : 0}
onProgressChange={(_, absoluteProgress): void => {
Expand Down Expand Up @@ -262,6 +261,7 @@ const styles = StyleSheet.create({
flex: 1,
},
slide: {
// backgroundColor: 'red',
flex: 1,
paddingHorizontal: 32,
},
Expand Down
3 changes: 2 additions & 1 deletion src/screens/Settings/ReportIssue/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,9 @@ const styles = StyleSheet.create({
flexGrow: 1,
},
form: {
paddingHorizontal: 16,
flex: 1,
paddingTop: 16,
paddingHorizontal: 16,
},
text: {
paddingBottom: 32,
Expand Down
1 change: 1 addition & 0 deletions src/utils/i18n/locales/en/lightning.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"nav_title": "Transfer Funds",
"title_slider": "Balance\n<accent>your funds</accent>",
"title_numpad": "Spending <accent>Balance</accent>",
"title_receive": "Receiving <accent>Capacity</accent>",
"text_slider": "Choose how much money you want to be able to spend instantly and how much you want to keep in savings.",
"text_numpad": "Enter the amount of money you want to be able to spend instantly.",
"swipe": "Swipe To Transfer",
Expand Down

0 comments on commit 9a23f10

Please sign in to comment.