lib/chains/setScreenOrientationChain.js
Function setScreenOrientationFactory
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const setScreenOrientationFactory = (classInstance) => {
const toJSON = (data) => ({
type: getRequestType(data, false),
request: {
type: 'deviceSettings',