diff --git a/react/features/notifications/components/native/Notification.js b/react/features/notifications/components/native/Notification.js index d3d317562..7c89f869d 100644 --- a/react/features/notifications/components/native/Notification.js +++ b/react/features/notifications/components/native/Notification.js @@ -64,25 +64,26 @@ class Notification extends AbstractNotification { _renderContent() { const { t, title, titleArguments, titleKey } = this.props; const titleText = title || (titleKey && t(titleKey, titleArguments)); + const description = this._getDescription(); - if (titleText) { - return ( + if (description && description.length) { + return description.map((line, index) => ( - { titleText } + style = { styles.contentText }> + { line } - ); + )); } - return this._getDescription().map((line, index) => ( + return ( - { line } + style = { styles.contentText } > + { titleText } - )); + ); } _getDescription: () => Array;