diff --git a/app/mobile/src/constants/Colors.js b/app/mobile/src/constants/Colors.js index 37c51b5b..76d6c9d0 100644 --- a/app/mobile/src/constants/Colors.js +++ b/app/mobile/src/constants/Colors.js @@ -21,6 +21,7 @@ const LightColors = { drawerBase: '#eeeeee', areaBase: '#ffffff', modalBase: '#ffffff', + modalBorder: '#555555', modalOverlay: 'rgba(52,52,52,0.8)', headerBar: '#eeeeee', primaryButton: '#448866', @@ -81,7 +82,8 @@ const DarkColors = { screenBase: '#222222', drawerBase: '#333333', areaBase: '#444444', - modalBase: '#333333', + modalBase: '#1b1b1b', + modalBorder: '#555555', modalOverlay: 'rgba(88,88,88,0.8)', headerBar: '#555555', primaryButton: '#448866', @@ -145,6 +147,7 @@ export const Colors = { screenBase: getColor('screenBase'), drawerBase: getColor('drawerBase'), areaBase: getColor('areaBase'), + modalBorder: getColor('modalBorder'), modalOverlay: getColor('modalOverlay'), modalBase: getColor('modalBase'), headerBar: getColor('headerBar'), diff --git a/app/mobile/src/constants/Strings.js b/app/mobile/src/constants/Strings.js index 2008f7f0..7b688d40 100644 --- a/app/mobile/src/constants/Strings.js +++ b/app/mobile/src/constants/Strings.js @@ -129,6 +129,7 @@ const Strings = [ create: 'Create', sealed: 'Sealed', newTopic: 'New Topic', + new: 'New', // details topic: 'Topic', @@ -267,7 +268,8 @@ const Strings = [ subject: 'Titre (optionnel)', create: 'Créer', sealed: 'Protégé', - newTopic: 'Nourveau Sujet', + newTopic: 'Nouveau Sujet', + new: 'Nouveau', // details topic: 'Sujet', @@ -407,6 +409,7 @@ const Strings = [ create: 'Crear', sealed: 'Protegida', newTopic: 'Nuevo Tema', + new: 'Nuevo', // details topic: 'Tema', @@ -546,6 +549,7 @@ const Strings = [ create: 'Erstellen', sealed: 'Gesichert', newTopic: 'Neues Thema', + new: 'Neu', // details topic: 'Thema', diff --git a/app/mobile/src/session/Session.jsx b/app/mobile/src/session/Session.jsx index 61eff1b1..238b10e4 100644 --- a/app/mobile/src/session/Session.jsx +++ b/app/mobile/src/session/Session.jsx @@ -158,7 +158,7 @@ function ContactStackScreen({ addChannel }) { (screenParams)} initialRouteName="cards"> - ( + ( )}}> {(props) => openContact(props.navigation, contact)} addChannel={addChannel} />} @@ -168,7 +168,7 @@ function ContactStackScreen({ addChannel }) { {(props) => } - ( + ( )}}> {(props) => openContact(props.navigation, contact)} />} diff --git a/app/mobile/src/session/channels/Channels.jsx b/app/mobile/src/session/channels/Channels.jsx index 78dd1ce0..d2dbfcdb 100644 --- a/app/mobile/src/session/channels/Channels.jsx +++ b/app/mobile/src/session/channels/Channels.jsx @@ -52,7 +52,7 @@ export function Channels({ cardId, channelId, navigation, openConversation, dmCh - New + { state.strings.new } ), diff --git a/app/mobile/src/session/contact/Contact.styled.js b/app/mobile/src/session/contact/Contact.styled.js index 96e21607..0eb35080 100644 --- a/app/mobile/src/session/contact/Contact.styled.js +++ b/app/mobile/src/session/contact/Contact.styled.js @@ -119,6 +119,7 @@ export const styles = StyleSheet.create({ alignItems: 'flex-start', justifyContent: 'center', flex: 1, + paddingLeft: 16, }, details: { minHeight: 32, diff --git a/app/mobile/src/session/settings/Settings.styled.js b/app/mobile/src/session/settings/Settings.styled.js index e6351546..e59539b0 100644 --- a/app/mobile/src/session/settings/Settings.styled.js +++ b/app/mobile/src/session/settings/Settings.styled.js @@ -148,6 +148,8 @@ export const styles = StyleSheet.create({ display: 'flex', alignItems: 'center', borderRadius: 8, + borderWidth: 1, + borderColor: Colors.modalBorder, }, modalHeader: { fontSize: 18, diff --git a/app/mobile/src/utils/Prompt.styled.js b/app/mobile/src/utils/Prompt.styled.js index b0588a9a..7475e25f 100644 --- a/app/mobile/src/utils/Prompt.styled.js +++ b/app/mobile/src/utils/Prompt.styled.js @@ -23,6 +23,8 @@ export const styles = StyleSheet.create({ display: 'flex', alignItems: 'center', borderRadius: 8, + borderWidth: 1, + borderColor: Colors.modalBorder, }, modalHeader: { fontSize: 18,