fix(core): classes .ns-light and .ns-dark apply to dialogs (#10201)

This commit is contained in:
Douglas Machado
2023-02-19 01:12:02 -03:00
committed by GitHub
parent df7ecb95db
commit 48ef249684

View File

@ -254,6 +254,7 @@ function applySelectors<T extends View>(view: T, callback: (view: T) => void) {
if (currentPage) { if (currentPage) {
const styleScope = currentPage._styleScope; const styleScope = currentPage._styleScope;
if (styleScope) { if (styleScope) {
view.parent = currentPage;
view._inheritStyleScope(styleScope); view._inheritStyleScope(styleScope);
view.onLoaded(); view.onLoaded();
callback(view); callback(view);