[common] Removed sharing settings controller

This commit is contained in:
SergeyEzhin 2022-08-01 15:18:11 +03:00
parent 75f01aca9a
commit 6edc78adc3
4 changed files with 6 additions and 24 deletions

View file

@ -1,18 +0,0 @@
import React, { Component } from 'react'
import {observer, inject} from "mobx-react"
import { withTranslation } from 'react-i18next';
import SharingSettings from '../view/SharingSettings';
class SharingSettingsController extends Component {
constructor(props){
super(props);
}
render() {
return (
<SharingSettings />
)
}
}
export default SharingSettingsController;

View file

@ -13,7 +13,7 @@ import { DocumentFormats, DocumentMargins, DocumentColorSchemes } from "./Docume
import { MacrosSettings, Direction } from "./ApplicationSettings"; import { MacrosSettings, Direction } from "./ApplicationSettings";
import About from '../../../../../common/mobile/lib/view/About'; import About from '../../../../../common/mobile/lib/view/About';
import NavigationController from '../../controller/settings/Navigation'; import NavigationController from '../../controller/settings/Navigation';
import SharingSettingsController from "../../../../../common/mobile/lib/controller/SharingSettings"; import SharingSettings from "../../../../../common/mobile/lib/view/SharingSettings";
const routes = [ const routes = [
{ {
@ -75,7 +75,7 @@ const routes = [
{ {
path: '/sharing-settings/', path: '/sharing-settings/',
component: SharingSettingsController component: SharingSettings
} }
]; ];

View file

@ -12,7 +12,7 @@ import PresentationSettingsController from "../../controller/settings/Presentati
import { PresentationColorSchemes } from "./PresentationSettings"; import { PresentationColorSchemes } from "./PresentationSettings";
// import PresentationAboutController from '../../controller/settings/PresentationAbout'; // import PresentationAboutController from '../../controller/settings/PresentationAbout';
import About from '../../../../../common/mobile/lib/view/About'; import About from '../../../../../common/mobile/lib/view/About';
import SharingSettingsController from "../../../../../common/mobile/lib/controller/SharingSettings"; import SharingSettings from "../../../../../common/mobile/lib/view/SharingSettings";
const routes = [ const routes = [
{ {
@ -52,7 +52,7 @@ const routes = [
{ {
path: '/sharing-settings/', path: '/sharing-settings/',
component: SharingSettingsController component: SharingSettings
} }
/*{ /*{
path: '/presentation-settings/', path: '/presentation-settings/',

View file

@ -13,7 +13,7 @@ import {MacrosSettings, RegionalSettings, FormulaLanguage} from './ApplicationSe
// import SpreadsheetAbout from './SpreadsheetAbout.jsx'; // import SpreadsheetAbout from './SpreadsheetAbout.jsx';
import About from '../../../../../common/mobile/lib/view/About'; import About from '../../../../../common/mobile/lib/view/About';
import { Direction } from '../../../../../spreadsheeteditor/mobile/src/view/settings/ApplicationSettings'; import { Direction } from '../../../../../spreadsheeteditor/mobile/src/view/settings/ApplicationSettings';
import SharingSettingsController from "../../../../../common/mobile/lib/controller/SharingSettings"; import SharingSettings from "../../../../../common/mobile/lib/view/SharingSettings";
const routes = [ const routes = [
{ {
@ -73,7 +73,7 @@ const routes = [
{ {
path: '/sharing-settings/', path: '/sharing-settings/',
component: SharingSettingsController component: SharingSettings
} }
]; ];