Sync user settings #45

Merged
akinwale merged 7 commits from sync-user-settings into master 2019-09-24 18:26:43 +02:00
Showing only changes of commit 2cc4177bbe - Show all commits

View file

@ -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);
}); });
}; };