Sync user settings #45
1 changed files with 3 additions and 9 deletions
|
@ -113,14 +113,8 @@ class SplashScreen extends React.PureComponent {
|
||||||
|
|
||||||
getUserSettings = () => {
|
getUserSettings = () => {
|
||||||
const { populateSharedUserState } = this.props;
|
const { populateSharedUserState } = this.props;
|
||||||
Lbryio.call('user_settings', 'get')
|
Lbryio.call('user_settings', 'get').then(settings => {
|
||||||
.then(settings => {
|
|
||||||
console.log('***populate with settings***');
|
|
||||||
console.log(settings);
|
|
||||||
populateSharedUserState(settings);
|
populateSharedUserState(settings);
|
||||||
})
|
|
||||||
.catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue