mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Code refactoring
This commit is contained in:
parent
4a95dd6195
commit
36329110e5
81 changed files with 3474 additions and 2124 deletions
|
|
@ -21,7 +21,7 @@
|
|||
function SettingsScreen()
|
||||
{
|
||||
var
|
||||
RL = require('../Boots/RainLoopApp.js'),
|
||||
App = require('../Apps/RainLoopApp.js'),
|
||||
|
||||
SettingsSystemDropDownViewModel = require('../ViewModels/SettingsSystemDropDownViewModel.js'),
|
||||
SettingsMenuViewModel = require('../ViewModels/SettingsMenuViewModel.js'),
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
Utils.initOnStartOrLangChange(function () {
|
||||
this.sSettingsTitle = Utils.i18n('TITLES/SETTINGS');
|
||||
}, this, function () {
|
||||
RL.setTitle(this.sSettingsTitle);
|
||||
App.setTitle(this.sSettingsTitle);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -45,9 +45,9 @@
|
|||
|
||||
SettingsScreen.prototype.onShow = function ()
|
||||
{
|
||||
var RL = require('../Boots/RainLoopApp.js');
|
||||
var App = require('../Apps/RainLoopApp.js');
|
||||
|
||||
RL.setTitle(this.sSettingsTitle);
|
||||
App.setTitle(this.sSettingsTitle);
|
||||
Globals.keyScope(Enums.KeyState.Settings);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue