From 6b77a054c25acb0437a58107c4592ad66c830993 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Fri, 30 Jun 2017 23:29:14 +0800 Subject: remove font setting and default to Open Sans (#6643) --- webapp/components/logged_in.jsx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'webapp/components/logged_in.jsx') diff --git a/webapp/components/logged_in.jsx b/webapp/components/logged_in.jsx index 8d753b13f..c81969145 100644 --- a/webapp/components/logged_in.jsx +++ b/webapp/components/logged_in.jsx @@ -4,14 +4,12 @@ import LoadingScreen from 'components/loading_screen.jsx'; import UserStore from 'stores/user_store.jsx'; -import PreferenceStore from 'stores/preference_store.jsx'; import * as GlobalActions from 'actions/global_actions.jsx'; import * as WebSocketActions from 'actions/websocket_actions.jsx'; import {loadEmoji} from 'actions/emoji_actions.jsx'; import * as Utils from 'utils/utils.jsx'; -import Constants from 'utils/constants.jsx'; const BACKSPACE_CHAR = 8; @@ -37,10 +35,6 @@ export default class LoggedIn extends React.Component { $('body').addClass('ios'); } - // if preferences have already been stored in local storage do not wait until preference store change is fired and handled in channel.jsx - const selectedFont = PreferenceStore.get(Constants.Preferences.CATEGORY_DISPLAY_SETTINGS, 'selected_font', Constants.DEFAULT_FONT); - Utils.applyFont(selectedFont); - this.state = { user: UserStore.getCurrentUser() }; -- cgit v1.2.3-1-g7c22