Skip to content

Commit 6c49f9e

Browse files
committed
[fix] Minor changes
1 parent 9c9a830 commit 6c49f9e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

www/js/platform.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,15 +350,16 @@ angular.module('cesium.platform', ['ngIdle', 'cesium.config', 'cesium.services']
350350
}
351351

352352
// Ionic Platform Grade is not A, disabling views transitions
353-
if (ionic.Platform.grade.toLowerCase() != 'a') {
353+
if (ionic.Platform.grade.toLowerCase() !== 'a') {
354354
console.info('[app] Disabling UI effects, because plateform\'s grade is [' + ionic.Platform.grade + ']');
355355
UIUtils.setEffects(false);
356356
}
357357

358358
// Status bar style
359359
if (window.StatusBar) {
360+
console.log("[app] Status bar plugin enable");
360361
// org.apache.cordova.statusbar required
361-
StatusBar.styleDefault();
362+
window.StatusBar.styleDefault();
362363
}
363364

364365
// Get latest release

0 commit comments

Comments
 (0)