diff --git a/app/containers/MessageBox/RightButtons.android.js b/app/containers/MessageBox/RightButtons.android.js index 6384fabf3..6ce281653 100644 --- a/app/containers/MessageBox/RightButtons.android.js +++ b/app/containers/MessageBox/RightButtons.android.js @@ -10,10 +10,10 @@ const RightButtons = React.memo(({ return ; } return ( - + <> - + ); }); diff --git a/app/containers/message/Audio.js b/app/containers/message/Audio.js index 4d411df9d..e1302aea1 100644 --- a/app/containers/message/Audio.js +++ b/app/containers/message/Audio.js @@ -168,7 +168,7 @@ export default class Audio extends React.Component { } return ( - + <> - + ); } } diff --git a/app/containers/message/Broadcast.js b/app/containers/message/Broadcast.js index f1eaac95f..1aab228ff 100644 --- a/app/containers/message/Broadcast.js +++ b/app/containers/message/Broadcast.js @@ -21,10 +21,10 @@ const Broadcast = React.memo(({ style={styles.button} hitSlop={BUTTON_HIT_SLOP} > - + <> {I18n.t('Reply')} - + ); diff --git a/app/containers/message/Discussion.js b/app/containers/message/Discussion.js index 47ea1693a..5c666e275 100644 --- a/app/containers/message/Discussion.js +++ b/app/containers/message/Discussion.js @@ -15,7 +15,7 @@ const Discussion = React.memo(({ const time = formatLastMessage(dlm); const buttonText = formatMessageCount(dcount, DISCUSSION); return ( - + <> {I18n.t('Started_discussion')} {msg} @@ -25,14 +25,14 @@ const Discussion = React.memo(({ style={[styles.button, styles.smallButton]} hitSlop={BUTTON_HIT_SLOP} > - + <> {buttonText} - + {time} - + ); }, (prevProps, nextProps) => { if (prevProps.msg !== nextProps.msg) { diff --git a/app/containers/message/Message.js b/app/containers/message/Message.js index 9bb0f702d..e26040d5a 100644 --- a/app/containers/message/Message.js +++ b/app/containers/message/Message.js @@ -21,23 +21,23 @@ import CallButton from './CallButton'; const MessageInner = React.memo((props) => { if (props.type === 'discussion-created') { return ( - + <> - + ); } if (props.type === 'jitsi_call_started') { return ( - + <> - + ); } return ( - + <> @@ -45,7 +45,7 @@ const MessageInner = React.memo((props) => { - + ); }); MessageInner.displayName = 'MessageInner'; diff --git a/app/containers/message/Urls.js b/app/containers/message/Urls.js index ddb5db835..0275996a9 100644 --- a/app/containers/message/Urls.js +++ b/app/containers/message/Urls.js @@ -89,10 +89,10 @@ const Url = React.memo(({ style={[styles.button, index > 0 && styles.marginTop, styles.container]} background={Touchable.Ripple('#fff')} > - + <> - + ); }, (oldProps, newProps) => isEqual(oldProps.url, newProps.url)); diff --git a/app/containers/message/Video.js b/app/containers/message/Video.js index 95d164ea2..74cedca68 100644 --- a/app/containers/message/Video.js +++ b/app/containers/message/Video.js @@ -48,7 +48,7 @@ const Video = React.memo(({ }; return ( - + <> - + ); }, (prevProps, nextProps) => isEqual(prevProps.file, nextProps.file)); diff --git a/app/index.js b/app/index.js index 016be1163..4c0b48803 100644 --- a/app/index.js +++ b/app/index.js @@ -239,11 +239,11 @@ class CustomInsideStack extends React.Component { render() { const { navigation } = this.props; return ( - + <> - + ); } } diff --git a/app/notifications/inApp/index.js b/app/notifications/inApp/index.js index 0e2d029b5..7e99903af 100644 --- a/app/notifications/inApp/index.js +++ b/app/notifications/inApp/index.js @@ -200,13 +200,13 @@ class NotificationBadge extends React.Component { hitSlop={BUTTON_HIT_SLOP} background={Touchable.SelectableBackgroundBorderless()} > - + <> {name} {message} - + diff --git a/app/presentation/RoomItem/Actions.js b/app/presentation/RoomItem/Actions.js index 8793dc791..7bdebcb1b 100644 --- a/app/presentation/RoomItem/Actions.js +++ b/app/presentation/RoomItem/Actions.js @@ -44,10 +44,10 @@ export const LeftActions = React.memo(({ ]} > - + <> {I18n.t(isRead ? 'Unread' : 'Read')} - + @@ -87,10 +87,10 @@ export const RightActions = React.memo(({ ]} > - + <> {I18n.t(favorite ? 'Unfavorite' : 'Favorite')} - + - + <> {I18n.t('Hide')} - + diff --git a/app/views/AuthLoadingView.js b/app/views/AuthLoadingView.js index a2ef3e509..b0195d634 100644 --- a/app/views/AuthLoadingView.js +++ b/app/views/AuthLoadingView.js @@ -12,8 +12,8 @@ const styles = StyleSheet.create({ }); export default React.memo(() => ( - + <> {isAndroid ? : null} - + )); diff --git a/app/views/AuthenticationWebView.js b/app/views/AuthenticationWebView.js index a1c2757db..cbf7549b4 100644 --- a/app/views/AuthenticationWebView.js +++ b/app/views/AuthenticationWebView.js @@ -105,7 +105,7 @@ class AuthenticationWebView extends React.PureComponent { const { loading } = this.state; const uri = navigation.getParam('url'); return ( - + <> { loading ? : null } - + ); } } diff --git a/app/views/DirectoryView/Options.js b/app/views/DirectoryView/Options.js index 31725c118..8a9425db3 100644 --- a/app/views/DirectoryView/Options.js +++ b/app/views/DirectoryView/Options.js @@ -85,7 +85,7 @@ export default class DirectoryOptions extends PureComponent { }); const { globalUsers, toggleWorkspace, isFederationEnabled } = this.props; return ( - + <> @@ -103,7 +103,7 @@ export default class DirectoryOptions extends PureComponent { {this.renderItem('users')} {isFederationEnabled ? ( - + <> @@ -112,11 +112,11 @@ export default class DirectoryOptions extends PureComponent { - + ) : null} - + ); } } diff --git a/app/views/DirectoryView/index.js b/app/views/DirectoryView/index.js index 4dc5310fd..9f5018c86 100644 --- a/app/views/DirectoryView/index.js +++ b/app/views/DirectoryView/index.js @@ -142,7 +142,7 @@ class DirectoryView extends React.Component { renderHeader = () => { const { type } = this.state; return ( - + <> - + ); } diff --git a/app/views/RoomInfoView/index.js b/app/views/RoomInfoView/index.js index 458ddcc2b..e7dcd7ea0 100644 --- a/app/views/RoomInfoView/index.js +++ b/app/views/RoomInfoView/index.js @@ -253,23 +253,23 @@ class RoomInfoView extends React.Component { renderChannel = () => { const { room } = this.state; return ( - + <> {this.renderItem('description', room)} {this.renderItem('topic', room)} {this.renderItem('announcement', room)} {room.broadcast ? this.renderBroadcast() : null} - + ); } renderDirect = () => { const { roomUser } = this.state; return ( - + <> {this.renderRoles()} {this.renderTimezone()} {this.renderCustomFields(roomUser._id)} - + ); } diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 05dc9677a..bbe07cc42 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -669,13 +669,13 @@ class RoomView extends React.Component { if (showUnreadSeparator || dateSeparator) { return ( - + <> {message} - + ); } diff --git a/app/views/RoomsListView/ListHeader/index.js b/app/views/RoomsListView/ListHeader/index.js index fd35f0b57..bdef7d1cc 100644 --- a/app/views/RoomsListView/ListHeader/index.js +++ b/app/views/RoomsListView/ListHeader/index.js @@ -8,11 +8,11 @@ import Sort from './Sort'; const ListHeader = React.memo(({ searchLength, sortBy, onChangeSearchText, toggleSort, goDirectory }) => ( - + <> - + )); ListHeader.propTypes = { diff --git a/app/views/RoomsListView/SortDropdown.js b/app/views/RoomsListView/SortDropdown.js index 44aa31d94..bd87ea670 100644 --- a/app/views/RoomsListView/SortDropdown.js +++ b/app/views/RoomsListView/SortDropdown.js @@ -112,7 +112,7 @@ class Sort extends PureComponent { } = this.props; return ( - + <> @@ -167,7 +167,7 @@ class Sort extends PureComponent { - + ); } } diff --git a/app/views/ShareListView/index.js b/app/views/ShareListView/index.js index ac6deed65..f419ffc60 100644 --- a/app/views/ShareListView/index.js +++ b/app/views/ShareListView/index.js @@ -312,7 +312,7 @@ class ShareListView extends React.Component { const { server } = this.props; const currentServer = servers.find(serverFiltered => serverFiltered.id === server); return currentServer ? ( - + <> {this.renderSectionHeader('Select_Server')} - + ) : null; } @@ -334,17 +334,17 @@ class ShareListView extends React.Component { renderHeader = () => { const { searching } = this.state; return ( - + <> { !searching ? ( - + <> {this.renderSelectServer()} {this.renderSectionHeader('Chats')} - + ) : null } - + ); } @@ -391,9 +391,9 @@ class ShareListView extends React.Component { { !searching ? ( - + <> {this.renderSelectServer()} - + ) : null } diff --git a/app/views/SidebarView/index.js b/app/views/SidebarView/index.js index 9e008071c..fa077befb 100644 --- a/app/views/SidebarView/index.js +++ b/app/views/SidebarView/index.js @@ -184,7 +184,7 @@ class Sidebar extends Component { const { isAdmin } = this.state; const { activeItemKey } = this.props; return ( - + <> } @@ -222,7 +222,7 @@ class Sidebar extends Component { onPress={this.logout} testID='sidebar-logout' /> - + ); }