diff --git a/src/components/views/elements/Flair.js b/src/components/views/elements/Flair.js index c720745c6f..4a34dac0de 100644 --- a/src/components/views/elements/Flair.js +++ b/src/components/views/elements/Flair.js @@ -21,7 +21,6 @@ import PropTypes from 'prop-types'; import {MatrixClient} from 'matrix-js-sdk'; import FlairStore from '../../../stores/FlairStore'; import dis from '../../../dispatcher'; -import SettingsStore from "../../../settings/SettingsStore"; class FlairAvatar extends React.Component { diff --git a/src/settings/handlers/AccountSettingsHandler.js b/src/settings/handlers/AccountSettingsHandler.js index 47c5cecc32..fe0ad2a500 100644 --- a/src/settings/handlers/AccountSettingsHandler.js +++ b/src/settings/handlers/AccountSettingsHandler.js @@ -34,7 +34,7 @@ export default class AccountSettingHandler extends SettingsHandler { if (preferredValue === null || preferredValue === undefined) { // Honour the old setting on read only if (settingName === "hideAvatarChanges" || settingName === "hideDisplaynameChanges") { - preferredValue = this._getSettings()["hideAvatarDisplaynameChanges"] + preferredValue = this._getSettings()["hideAvatarDisplaynameChanges"]; } }