File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1212,13 +1212,13 @@ export class WidgetAndroidCommand extends WidgetCommand {
12121212 if ( ! fs . existsSync ( widgetPath ) ) {
12131213 fs . mkdirSync ( path . dirname ( widgetPath ) , { recursive : true } ) ;
12141214
1215- const content = `
1216- package ${ packageName }
1217- import org.nativescript.widgets.AppWidgetProvider
1215+ const content = `package ${ packageName }
1216+ import org.nativescript.widgets.AppWidgetProvider
12181217
1219- class ${ widgetClassName } : AppWidgetProvider() {
1220- override val interval = ${ updateInterval } L
1221- }${ EOL } ` ;
1218+ class ${ widgetClassName } : AppWidgetProvider() {
1219+ override val interval = ${ updateInterval } L
1220+ }
1221+ ${ EOL } `;
12221222
12231223 fs . writeFileSync ( widgetPath , content ) ;
12241224 }
You can’t perform that action at this time.
0 commit comments