"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const createDesktopNavigator_1 = require("./createDesktopNavigator");
const createMobileNavigator_1 = require("./createMobileNavigator");
const isMobile_1 = require("../isMobile");
exports.createSettingsRoutes = (mainRoute, pages) => {
    return isMobile_1.isMobile()
        ? createMobileNavigator_1.createMobileRoutes(mainRoute, pages)
        : [Object.assign({}, mainRoute, { navigator: createDesktopNavigator_1.createDesktopNavigator(pages) })];
};
