From 48d017f17024722518d0350b87fde98291854a95 Mon Sep 17 00:00:00 2001 From: balzack Date: Thu, 16 Jan 2025 21:53:56 -0800 Subject: [PATCH] styling for light mode --- app/client/mobile/src/constants/Strings.ts | 2 +- .../mobile/src/contacts/Contacts.styled.ts | 2 ++ app/client/mobile/src/contacts/Contacts.tsx | 2 +- .../mobile/src/content/Content.styled.ts | 1 - app/client/mobile/src/session/Session.tsx | 2 +- .../mobile/src/settings/Settings.styled.ts | 3 +++ app/client/mobile/src/settings/Settings.tsx | 22 +++++++++---------- 7 files changed, 19 insertions(+), 15 deletions(-) diff --git a/app/client/mobile/src/constants/Strings.ts b/app/client/mobile/src/constants/Strings.ts index 578a66ae..f3bf33be 100644 --- a/app/client/mobile/src/constants/Strings.ts +++ b/app/client/mobile/src/constants/Strings.ts @@ -104,7 +104,7 @@ export const en = { password: 'Password', newPassword: 'New Password', confirmPassword: 'Confirm Password', - deleteKey: "Type 'delete' to remove key", + deleteKey: 'Enter \'delete\' to remove key', delete: 'delete', remove: 'Delete', username: 'Username', diff --git a/app/client/mobile/src/contacts/Contacts.styled.ts b/app/client/mobile/src/contacts/Contacts.styled.ts index 47f7869c..26a19677 100644 --- a/app/client/mobile/src/contacts/Contacts.styled.ts +++ b/app/client/mobile/src/contacts/Contacts.styled.ts @@ -11,6 +11,7 @@ export const styles = StyleSheet.create({ }, button: { borderRadius: 8, + marginRight: 4, }, indicator: { borderRightWidth: 2, @@ -39,6 +40,7 @@ export const styles = StyleSheet.create({ marginRight: 8, marginLeft: 4, display: 'flex', + borderRadius: 8, }, input: { flexGrow: 1, diff --git a/app/client/mobile/src/contacts/Contacts.tsx b/app/client/mobile/src/contacts/Contacts.tsx index 88c31e34..cb4dc534 100644 --- a/app/client/mobile/src/contacts/Contacts.tsx +++ b/app/client/mobile/src/contacts/Contacts.tsx @@ -36,7 +36,7 @@ export function Contacts({openRegistry, openContact, callContact, textContact}: - + {state.layout !== 'large' && ( - + - + {state.strings.manageTopics} setSealing(false)} /> {!sealDelete && !sealReset && state.config.sealSet && state.config.sealUnlocked && ( @@ -875,7 +875,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { - + {state.strings.profileDetails} setDetails(false)} /> - + {state.strings.mfaTitle} setAuth(false)} /> {state.strings.mfaSteps} @@ -965,7 +965,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { - + {state.strings.mfaTitle} setClear(false)} /> {state.strings.disablePrompt} @@ -986,7 +986,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { - + {state.strings.changeLogin} setChange(false)} /> @@ -1064,7 +1064,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { - + {state.strings.loggingOut} setLogout(false)} /> @@ -1089,7 +1089,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { - + {state.strings.deleteAccount} setRemove(false)} /> @@ -1100,7 +1100,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { autoComplete="off" autoCorrect={false} value={state.remove} - label={state.strings.typeDelete} + label={state.strings.deleteKey} left={} onChangeText={value => actions.setRemove(value)} /> @@ -1109,8 +1109,8 @@ export function Settings({showLogout}: {showLogout: boolean}) { -