Use granular settings instead of synced settings
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
c74e6c3c0c
commit
f6177cd7b5
2 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ import sdk from 'matrix-react-sdk';
|
|||
import dis from 'matrix-react-sdk/lib/dispatcher';
|
||||
import Velocity from 'velocity-vector';
|
||||
import 'velocity-vector/velocity.ui';
|
||||
import UserSettingsStore from 'matrix-react-sdk/lib/UserSettingsStore';
|
||||
import SettingsStore from "matrix-react-sdk/lib/settings/SettingsStore";
|
||||
|
||||
const CALLOUT_ANIM_DURATION = 1000;
|
||||
|
||||
|
@ -170,7 +170,7 @@ module.exports = React.createClass({
|
|||
const GroupsButton = sdk.getComponent('elements.GroupsButton');
|
||||
const SettingsButton = sdk.getComponent('elements.SettingsButton');
|
||||
|
||||
const groupsButton = UserSettingsStore.isFeatureEnabled('feature_groups') ?
|
||||
const groupsButton = SettingsStore.isFeatureEnabled('feature_groups') ?
|
||||
<GroupsButton tooltip={true} /> : null;
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue