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