diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-30 23:29:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-30 23:29:14 +0800 |
commit | 6b77a054c25acb0437a58107c4592ad66c830993 (patch) | |
tree | acc17f00c621993c427de5496180063f0a0e0c55 /webapp/components/logged_in.jsx | |
parent | c2cef78f049e512d4543c584a26f8a52e9ca780c (diff) | |
download | chat-6b77a054c25acb0437a58107c4592ad66c830993.tar.gz chat-6b77a054c25acb0437a58107c4592ad66c830993.tar.bz2 chat-6b77a054c25acb0437a58107c4592ad66c830993.zip |
remove font setting and default to Open Sans (#6643)
Diffstat (limited to 'webapp/components/logged_in.jsx')
-rw-r--r-- | webapp/components/logged_in.jsx | 6 |
1 files changed, 0 insertions, 6 deletions
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() }; |