fix notifications
This commit is contained in:
parent
a314b2af3d
commit
5ec3273658
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import { ipcRenderer, remote } from 'electron';
|
|||
import path from 'path';
|
||||
import * as ACTIONS from 'constants/action_types';
|
||||
import * as MODALS from 'constants/modal_types';
|
||||
import { DOMAIN } from 'config';
|
||||
import { DOMAIN, SIMPLE_SITE } from 'config';
|
||||
import {
|
||||
Lbry,
|
||||
doBalanceSubscribe,
|
||||
|
@ -541,7 +541,7 @@ export function doSignIn() {
|
|||
return (dispatch, getState) => {
|
||||
const state = getState();
|
||||
const user = selectUser(state);
|
||||
const notificationsEnabled = user.experimental_ui;
|
||||
const notificationsEnabled = SIMPLE_SITE || user.experimental_ui;
|
||||
|
||||
if (notificationsEnabled) {
|
||||
dispatch(doNotificationSocketConnect());
|
||||
|
|
Loading…
Reference in a new issue