diff --git a/static/app-strings.json b/static/app-strings.json index 0885c414e..0a09c8529 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1066,5 +1066,10 @@ "Channel profile picture": "Channel profile picture", "(%count%)": "(%count%)", "Reposts of %uri%": "Reposts of %uri%", - "A backup of your wallet is synced with lbry.tv.": "A backup of your wallet is synced with lbry.tv." + "A backup of your wallet is synced with lbry.tv.": "A backup of your wallet is synced with lbry.tv.", + "Tag Selection": "Tag Selection", + "Select some tags to help us show you interesting things.": "Select some tags to help us show you interesting things.", + "You are currently following %followingCount% tags": "You are currently following %followingCount% tags", + "Back": "Back", + "Nice! You are currently following %followingCount% creators": "Nice! You are currently following %followingCount% creators" } \ No newline at end of file diff --git a/ui/index.jsx b/ui/index.jsx index 909da5bb2..f33e1dedc 100644 --- a/ui/index.jsx +++ b/ui/index.jsx @@ -132,39 +132,15 @@ Lbryio.setOverride( 'getAuthToken', () => new Promise(resolve => { - // @if TARGET='app' - const desktopAuthTokenToReturn = authToken || getAuthToken(); - - if (desktopAuthTokenToReturn) { - resolve(desktopAuthTokenToReturn); - } - - // Old users who haven't moved to storing the auth_token in a cookie - // Get it => set it => delete from keychain - ipcRenderer.once('auth-token-response', (event, keychainToken) => { - if (keychainToken) { - Lbryio.authToken = keychainToken; - setAuthToken(keychainToken); - resolve(keychainToken); - ipcRenderer.send('delete-auth-token'); - } else { - // No auth_token saved anywhere - resolve(''); - } - }); - - ipcRenderer.send('get-auth-token'); - // @endif - - // @if TARGET='web' const authTokenToReturn = authToken || getAuthToken(); + // @if TARGET='web' if (authTokenToReturn !== null) { Lbry.setApiHeader(X_LBRY_AUTH_TOKEN, authTokenToReturn); } + // @endif resolve(authTokenToReturn); - // @endif }) );