This commit is contained in:
Sean Yesmunt 2020-02-25 16:18:00 -05:00
parent 495ba1e74b
commit 7845d9059a
2 changed files with 2 additions and 0 deletions

1
dist/bundle.es.js vendored
View file

@ -1680,6 +1680,7 @@ function doPreferenceGet(key, success, fail) {
}; };
lbryProxy.preference_get(options).then(result => { lbryProxy.preference_get(options).then(result => {
console.log('test', result);
if (result) { if (result) {
console.log('result', result); console.log('result', result);
const preference = result[key]; const preference = result[key];

View file

@ -98,6 +98,7 @@ export function doPreferenceGet(key: string, success: Function, fail?: Function)
Lbry.preference_get(options) Lbry.preference_get(options)
.then(result => { .then(result => {
console.log('test', result);
if (result) { if (result) {
console.log('result', result); console.log('result', result);
const preference = result[key]; const preference = result[key];