diff --git a/native/push/in-app-notif.react.js b/native/push/in-app-notif.react.js --- a/native/push/in-app-notif.react.js +++ b/native/push/in-app-notif.react.js @@ -19,19 +19,18 @@ let title = null; if (props.title) { - const titleStyles = [ - styles.title, - useLightStyle ? styles.lightTitle : null, - ]; title = ( <> - {props.title} + {props.title} {'\n'} ); } - const textStyles = [styles.text, useLightStyle ? styles.lightText : null]; + const textStyles = [ + styles.text, + useLightStyle ? styles.lightText : styles.darkText, + ]; const notificationContent = ( {title} @@ -51,10 +50,10 @@ } const styles = StyleSheet.create({ - lightText: { - color: 'white', + darkText: { + color: 'black', }, - lightTitle: { + lightText: { color: 'white', }, notif: { @@ -79,7 +78,6 @@ marginHorizontal: 10, }, title: { - color: 'black', fontWeight: 'bold', }, });