Skip to content

Commit bcb0496

Browse files
committed
fix: initial layout
1 parent 469dafa commit bcb0496

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/commands/widget.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ export class WidgetAndroidCommand extends WidgetCommand {
10621062
result = await prompts.prompt({
10631063
type: "text",
10641064
name: "initialLayout",
1065-
message: `What initial layout would you like for this widget? (Default is 'ns_remote_views_root_layout' which is an empty linear layout. You can customize this with your own custom layout)`,
1065+
message: `What initial layout would you like for this widget? (Default is 'ns_remote_views_linear_layout' which is an empty linear layout. You can customize this with your own custom layout)`,
10661066
});
10671067

10681068
result = await prompts.prompt({
@@ -1073,7 +1073,7 @@ export class WidgetAndroidCommand extends WidgetCommand {
10731073

10741074
const widgetFeatures = result.widgetFeatures || "Y";
10751075

1076-
const initialLayout = result.initialLayout || "ns_remote_views_root_layout";
1076+
const initialLayout = result.initialLayout || "ns_remote_views_linear_layout";
10771077

10781078
const bundleId = this.$projectConfigService.getValue(`id`, "");
10791079

0 commit comments

Comments
 (0)