mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 12:58:38 +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