@nativescript/theme
Advanced tools
Comparing version 2.1.2-2019-10-16-141152-03 to 2.1.2-2019-10-18-112814-01
12
index.js
@@ -12,3 +12,3 @@ "use strict"; | ||
var viewCommon = _interopRequireWildcard(require("tns-core-modules/ui/core/view/view-common")); | ||
var view = _interopRequireWildcard(require("tns-core-modules/ui/core/view")); | ||
@@ -89,5 +89,5 @@ var frame = _interopRequireWildcard(require("tns-core-modules/ui/frame")); | ||
exports.default = _default; | ||
const oldSetupAsRootView = viewCommon.ViewCommon.prototype._setupAsRootView; | ||
const oldSetupAsRootView = view.ViewCommon.prototype._setupAsRootView; | ||
viewCommon.ViewCommon.prototype._setupAsRootView = function () { | ||
view.ViewCommon.prototype._setupAsRootView = function () { | ||
oldSetupAsRootView.call(this, ...arguments); | ||
@@ -110,6 +110,6 @@ Theme.setMode(Theme.currentMode, this); | ||
if (viewCommon._rootModalViews.length) { | ||
if (view._rootModalViews.length) { | ||
const classList = new ClassList(app.getRootView().className); | ||
viewCommon._rootModalViews.forEach(view => updateRootClasses(orientation, view, classList.add("ns-modal").list)); | ||
view._rootModalViews.forEach(view => updateRootClasses(orientation, view, classList.add("ns-modal").list)); | ||
} | ||
@@ -150,3 +150,3 @@ } | ||
viewCommon._rootModalViews = new Proxy(viewCommon._rootModalViews, rootModalTrap); | ||
view._rootModalViews = new Proxy(view._rootModalViews, rootModalTrap); | ||
root.className = new ClassList(root.className).add("ns-root", platformClass, `ns-${_platform.device.deviceType.toLowerCase()}`).get(); | ||
@@ -153,0 +153,0 @@ |
{ | ||
"name": "@nativescript/theme", | ||
"version": "2.1.2-2019-10-16-141152-03", | ||
"version": "2.1.2-2019-10-18-112814-01", | ||
"description": "Telerik NativeScript Core Theme", | ||
@@ -5,0 +5,0 @@ "main": "index", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
564471