diff --git a/app/components/profile_picture/profile_picture.js b/app/components/profile_picture/profile_picture.js index a12b13ce8..c577b11ca 100644 --- a/app/components/profile_picture/profile_picture.js +++ b/app/components/profile_picture/profile_picture.js @@ -65,6 +65,20 @@ export default class ProfilePicture extends React.PureComponent { size={this.props.statusIconSize} /> ); + } else { + statusIcon = ( + + ); } return ( @@ -82,9 +96,9 @@ export default class ProfilePicture extends React.PureComponent { width: this.props.statusSize, height: this.props.statusSize, borderWidth: this.props.statusBorderWidth, - borderRadius: this.props.statusSize / 2 - }, - (this.props.status === 'offline' && style.offline) + borderRadius: this.props.statusSize / 2, + borderColor: this.props.theme.centerChannelBg + } ]} > { right: 0, overflow: 'hidden', alignItems: 'center', - justifyContent: 'center', - borderColor: theme.centerChannelBg + justifyContent: 'center' }, statusContainer: { alignItems: 'center', @@ -134,7 +147,9 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { backgroundColor: theme.awayIndicator }, offline: { - backgroundColor: theme.centerChannelBg, + backgroundColor: theme.centerChannelBg + }, + offlineIcon: { borderColor: '#bababa' } });