Skip to content

Commit

Permalink
Report correct session for React Native app
Browse files Browse the repository at this point in the history
  • Loading branch information
enahum committed Mar 11, 2017
1 parent 06a7c3b commit 51a0ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/components/activity_log_modal.jsx
Expand Up @@ -102,15 +102,15 @@ export default class ActivityLogModal extends React.Component {

if (currentSession.props.platform === 'Windows') {
devicePicture = 'fa fa-windows';
} else if (currentSession.device_id && currentSession.device_id.indexOf('apple:') === 0) {
} else if (currentSession.device_id && currentSession.device_id.indexOf('apple') === 0) {
devicePicture = 'fa fa-apple';
devicePlatform = (
<FormattedMessage
id='activity_log_modal.iphoneNativeApp'
defaultMessage='iPhone Native App'
/>
);
} else if (currentSession.device_id && currentSession.device_id.indexOf('android:') === 0) {
} else if (currentSession.device_id && currentSession.device_id.indexOf('android') === 0) {
devicePlatform = (
<FormattedMessage
id='activity_log_modal.androidNativeApp'
Expand Down

0 comments on commit 51a0ddb

Please sign in to comment.