diff --git a/app/actions/actionsTypes.ts b/app/actions/actionsTypes.ts index a5e7a5a96..84689f5ab 100644 --- a/app/actions/actionsTypes.ts +++ b/app/actions/actionsTypes.ts @@ -47,7 +47,7 @@ export const APP = createRequestTypes('APP', [ 'INIT_LOCAL_SETTINGS', 'SET_MASTER_DETAIL', 'SET_NOTIFICATION_PRESENCE_CAP', - 'SET_INTERNET_TYPE' + 'SET_NET_INFO_STATE' ]); export const MESSAGES = createRequestTypes('MESSAGES', ['REPLY_BROADCAST']); export const CREATE_CHANNEL = createRequestTypes('CREATE_CHANNEL', [...defaultTypes]); diff --git a/app/actions/app.ts b/app/actions/app.ts index 5969338a2..cbae69265 100644 --- a/app/actions/app.ts +++ b/app/actions/app.ts @@ -70,7 +70,7 @@ export function setNotificationPresenceCap(show: boolean): ISetNotificationPrese export function setNetInfoState(netInfoState: NetInfoStateType): ISetNetInfoState { return { - type: APP.SET_INTERNET_TYPE, + type: APP.SET_NET_INFO_STATE, netInfoState }; } diff --git a/app/reducers/app.ts b/app/reducers/app.ts index f13100be5..164efdec4 100644 --- a/app/reducers/app.ts +++ b/app/reducers/app.ts @@ -66,7 +66,7 @@ export default function app(state = initialState, action: TActionApp): IApp { ...state, notificationPresenceCap: action.show }; - case APP.SET_INTERNET_TYPE: + case APP.SET_NET_INFO_STATE: return { ...state, netInfoState: action.netInfoState