mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
addCssFile on application module wasn’t changing the app styles (#3666)
This commit is contained in:
@@ -46,7 +46,8 @@ export function livesync() {
|
||||
}
|
||||
|
||||
export function setCssFileName(cssFileName: string) {
|
||||
cssFile = cssFileName;
|
||||
exports.cssFile = cssFileName;
|
||||
events.notify(<CssChangedEventData>{ eventName: "cssChanged", object: app, cssFile: cssFileName });
|
||||
}
|
||||
|
||||
export function addCss(cssText: string): void {
|
||||
|
||||
Reference in New Issue
Block a user