diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-08-23 10:01:58 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-08-23 10:01:58 -0400 |
| commit | eeecfe1699cf161b22bf2190e2c9a2bc129d0307 (patch) | |
| tree | 7739a250fe554045cdc686fb5b4e5848f25d9c30 /www/js/app.js | |
| parent | d5fbc2f4ae10a703f6c0dd37886331168adeae88 (diff) | |
#310 - option to disable native trans
Former-commit-id: 62daeae024d9633c5caa11562fd3782d84d7d58f
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/www/js/app.js b/www/js/app.js index 36bc255b..a43f710e 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1286,9 +1286,16 @@ angular.module('zmApp', [ - - $ionicNativeTransitions.enable(true, false); - + if (ZMDataModel.getLogin().disableNative) + { + ZMDataModel.zmLog ("Disabling native transitions..."); + $ionicNativeTransitions.enable(false); + } + else + { + ZMDataModel.zmLog ("Enabling native transitions..."); + $ionicNativeTransitions.enable(true); + } // At this stage, DataModel.init is not called yet // but I do need to know the language |
