From 865767130ae058221a422b0a8f5be9c8095f48db Mon Sep 17 00:00:00 2001 From: Philipp Walter Date: Wed, 8 May 2024 14:02:55 +0200 Subject: [PATCH] fix(ui): minor ui fixes --- src/screens/Lightning/CustomSetup.tsx | 4 +++- src/screens/Onboarding/Slideshow.tsx | 1 - src/screens/Settings/ReportIssue/index.tsx | 3 ++- src/utils/i18n/locales/en/lightning.json | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/screens/Lightning/CustomSetup.tsx b/src/screens/Lightning/CustomSetup.tsx index 3f25031c9..f2c1d8b6e 100644 --- a/src/screens/Lightning/CustomSetup.tsx +++ b/src/screens/Lightning/CustomSetup.tsx @@ -473,6 +473,8 @@ const CustomSetup = ({ blocktankInfo.options.max0ConfClientBalanceSat, ]); + const title = spending ? 'transfer.title_numpad' : 'transfer.title_receive'; + return ( @@ -489,7 +491,7 @@ const CustomSetup = ({ }} /> diff --git a/src/screens/Onboarding/Slideshow.tsx b/src/screens/Onboarding/Slideshow.tsx index c1e868741..dd4963b90 100644 --- a/src/screens/Onboarding/Slideshow.tsx +++ b/src/screens/Onboarding/Slideshow.tsx @@ -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 => { diff --git a/src/screens/Settings/ReportIssue/index.tsx b/src/screens/Settings/ReportIssue/index.tsx index 00a2894f2..0b77027d1 100644 --- a/src/screens/Settings/ReportIssue/index.tsx +++ b/src/screens/Settings/ReportIssue/index.tsx @@ -162,8 +162,9 @@ const styles = StyleSheet.create({ flexGrow: 1, }, form: { - paddingHorizontal: 16, flex: 1, + paddingTop: 16, + paddingHorizontal: 16, }, text: { paddingBottom: 32, diff --git a/src/utils/i18n/locales/en/lightning.json b/src/utils/i18n/locales/en/lightning.json index 6d8de3dbb..3357e8eea 100644 --- a/src/utils/i18n/locales/en/lightning.json +++ b/src/utils/i18n/locales/en/lightning.json @@ -22,6 +22,7 @@ "nav_title": "Transfer Funds", "title_slider": "Balance\nyour funds", "title_numpad": "Spending Balance", + "title_receive": "Receiving Capacity", "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",