mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-02 19:12:40 +08:00
fix(core): classes .ns-light and .ns-dark apply to dialogs (#10201)
This commit is contained in:
@ -254,6 +254,7 @@ function applySelectors<T extends View>(view: T, callback: (view: T) => void) {
|
||||
if (currentPage) {
|
||||
const styleScope = currentPage._styleScope;
|
||||
if (styleScope) {
|
||||
view.parent = currentPage;
|
||||
view._inheritStyleScope(styleScope);
|
||||
view.onLoaded();
|
||||
callback(view);
|
||||
|
||||
Reference in New Issue
Block a user