import { ActionCreator } from 'redux' ; import { SetDataConsumptionNotificationStatus , SetDeviceAsMobile , SetFullScreenMode , SetModelLoadingStatus } from './types' ; import { FullScreenMode } from "../../data/FullScreenMode" ; export const setDeviceAsMobile = ( status ) => ( { type : '@@app/SET_DEVICE_AS_MOBILE' , payload : { isMobile : status } } ) ; export const setFullScreenMode = ( mode ) => ( { type : '@@app/SET_FULL_SCREEN_MODE' , payload : { fullScreenMode : mode } } ) ; export const setDataConsumptionNotificationStatus = ( status ) => ( { type : '@@app/SET_DATA_CONSUMPTION_NOTIFICATION_STATUS' , payload : { isNotifiedOfDataConsumption : status } } ) ; export const setModelLoadingStatus = ( status ) => ( { type : '@@app/SET_MODEL_LOADING_STATUS' , payload : { isModelLoading : status } } ) ;