diff options
-rwxr-xr-x | appinfo/routes.php | 4 | ||||
-rwxr-xr-x | lib/Controller/NoteController.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index bec1370..402ce6e 100755 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -55,8 +55,8 @@ return [ ['name' => 'note#getMaterialFont', 'url' => '/templates/CarnetElectron/fonts/material-icons.woff2', 'verb' => 'GET' ], ['name' => 'note#getChangelog', 'url' => '/settings/changelog', 'verb' => 'GET' ], ['name' => 'note#getLangJson', 'url' => '/settings/lang/json', 'verb' => 'GET' ], - ['name' => 'note#getBrowserSettings', 'url' => '/settings/browser', 'verb' => 'GET' ], - ['name' => 'note#setBrowserSettings', 'url' => '/settings/browser', 'verb' => 'POST' ], + ['name' => 'note#getUISettings', 'url' => '/settings/ui', 'verb' => 'GET' ], + ['name' => 'note#setUISettings', 'url' => '/settings/ui', 'verb' => 'POST' ], ['name' => 'PublicApi#getOpusEncoder', 'url' => '/recorder/encoderWorker.min.wasm', 'verb' => 'GET' ], ['name' => 'PublicApi#getOpusDecoder', 'url' => '/recorder/decoderWorker.min.wasm', 'verb' => 'GET' ], ['name' => 'note#getOpusEncoderJavascript', 'url' => '/recorder/encoderWorker.min.js', 'verb' => 'GET' ], diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php index 1b6347b..a1d4798 100755 --- a/lib/Controller/NoteController.php +++ b/lib/Controller/NoteController.php @@ -166,14 +166,14 @@ /** * @NoAdminRequired */ - public function setBrowserSettings($jsonSettings) { + public function setUISettings($jsonSettings) { $this->Config->setUserValue($this->userId, $this->appName,"browser_settings",$jsonSettings); } /** * @NoAdminRequired */ - public function getBrowserSettings() { + public function getUISettings() { return $this->Config->getUserValue($this->userId, $this->appName,"browser_settings"); } |