Skip to content

Commit

Permalink
fix: Fixed a bug in create.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Apr 30, 2024
1 parent f0ccb59 commit 0453c74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/katana_cli/lib/command/code/tmp/navigation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class ${className}Page extends PageScopedWidget {
// Describes the process of loading
// and defining variables required for the page.
// TODO: Implement the variable loading process.
final nestedRouter = ref.router(
final nestedRouter = ref.page.router(
initialQuery: ${className}PageNavigation.initialNavigation.routeQuery,
pages: [],
);
Expand Down
2 changes: 1 addition & 1 deletion packages/katana_cli/lib/src/xcode.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ class PBXResourcesBuildPhase {

@override
String toString() {
return "\t\t$id ${comment != null ? "/* $comment */ " : ""}= {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = $buildActionMask;\n\t\t\tfiles = (\n${files.map((e) => e.toString()).join(",\n")},\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = $runOnlyForDeploymentPostprocessing;\n\t\t};";
return "\t\t$id ${comment != null ? "/* $comment */ " : ""}= {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = $buildActionMask;\n\t\t\tfiles = (\n${files.isEmpty ? "" : "${files.map((e) => e.toString()).join(",\n")},\n"}\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = $runOnlyForDeploymentPostprocessing;\n\t\t};";
}
}

Expand Down
4 changes: 2 additions & 2 deletions packages/katana_cli/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: "direct main"
description:
name: archive
sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d"
sha256: "0763b45fa9294197a2885c8567927e2830ade852e5c896fd4ab7e0e348d0f373"
url: "https://pub.dev"
source: hosted
version: "3.4.10"
version: "3.5.0"
args:
dependency: transitive
description:
Expand Down

0 comments on commit 0453c74

Please sign in to comment.