Remove Linux platform selection

This commit is contained in:
2021-05-24 21:28:26 -05:00
parent 9bc5ae99f6
commit ad4e312d7a
9 changed files with 36 additions and 276 deletions

View File

@@ -3,10 +3,8 @@ import {
confirmYesNoAction,
NOTIFY_APPLICATION_BUSY,
notifyRebootRequired,
SET_DISPLAY_SELECT_APPPLATFORM,
setAllowMount,
setApplicationReady,
setLinuxAppPlatform,
} from '../actions/common_actions';
export const createCommonReducer = (platformInfo, version) => {
@@ -19,7 +17,6 @@ export const createCommonReducer = (platformInfo, version) => {
AppReady: false,
DisplayConfirmYesNo: false,
ConfirmTitle: null,
DisplaySelectAppPlatform: false,
Platform: platformInfo.Platform,
RebootRequired: false,
Version: version,
@@ -33,9 +30,6 @@ export const createCommonReducer = (platformInfo, version) => {
action.payload.display && action.payload.data ? action.payload.data.title : null,
};
},
[SET_DISPLAY_SELECT_APPPLATFORM]: (state, action) => {
return { ...state, DisplaySelectAppPlatform: action.payload };
},
[setAllowMount]: (state, action) => {
return { ...state, AllowMount: action.payload };
},
@@ -45,9 +39,6 @@ export const createCommonReducer = (platformInfo, version) => {
AppReady: action.payload,
};
},
[setLinuxAppPlatform]: (state, action) => {
return { ...state, AppPlatform: action.payload };
},
[NOTIFY_APPLICATION_BUSY]: (state, action) => {
return {
...state,