Fix allways show mobile sub name tag
This commit is contained in:
parent
047b573d10
commit
d44fea18c2
@ -154,7 +154,7 @@ class App extends Component {
|
||||
Modal.setAppElement('#app');
|
||||
|
||||
document.getElementsByTagName('html')[0].lang = locale;
|
||||
document.getElementsByTagName('html')[0].style.fontSize = isMobile ? MOBILE_FONT_SIZE : DESKTOP_FONT_SIZE;
|
||||
document.getElementsByTagName('html')[0].style.fontSize = isMobile() ? MOBILE_FONT_SIZE : DESKTOP_FONT_SIZE;
|
||||
|
||||
const body = document.getElementsByTagName('body')[0];
|
||||
|
||||
@ -185,7 +185,7 @@ class App extends Component {
|
||||
startBandwidthMonitoring();
|
||||
}
|
||||
|
||||
if (isMobile) makeCall('setMobileUser');
|
||||
if (isMobile()) makeCall('setMobileUser');
|
||||
|
||||
ConnectionStatusService.startRoundTripTime();
|
||||
|
||||
|
@ -12,7 +12,7 @@ const UserListItemContainer = (props) => {
|
||||
const { newLayoutContextDispatch } = newLayoutContext;
|
||||
return <UserListItem {...{ newLayoutContextDispatch, ...props }} />;
|
||||
};
|
||||
const isMe = intId => intId === Auth.userID;
|
||||
const isMe = (intId) => intId === Auth.userID;
|
||||
|
||||
export default withTracker(({ user }) => {
|
||||
const findUserInBreakout = BreakoutService.getBreakoutUserIsIn(user.userId);
|
||||
|
Loading…
Reference in New Issue
Block a user