1
2
3
4
5
6
7
8
9
10
11
12
13
14
| "use strict";
| Object.defineProperty(exports, "__esModule", { value: true });
| exports.initAppStatusbar = void 0;
| function initAppStatusbar(manifestJson, pagesJson) {
| var _a;
| const { titleColor = '#000', backgroundColor = '#000000' } = ((_a = pagesJson.globalStyle) === null || _a === void 0 ? void 0 : _a.navigationBar) || {};
| manifestJson.plus.statusbar = {
| immersed: 'supportedDevice',
| style: titleColor === '#000' ? 'dark' : 'light',
| background: backgroundColor,
| };
| return manifestJson;
| }
| exports.initAppStatusbar = initAppStatusbar;
|
|