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