Skip to content

Commit

Permalink
chore: Fixing navigation namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrandolph committed Oct 2, 2023
1 parent 3f1d211 commit 8670d16
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions src/Uno.Templates/content/unoapp/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@
},
"useDependencyInjection": {
"type": "generated",
"datatype": "bool",
"generator": "coalesce",
"parameters": {
"sourceVariableName": "dependencyInjection",
Expand Down Expand Up @@ -1498,24 +1499,6 @@
]
}
},
"navigationNamespace": {
"type": "generated",
"generator": "switch",
"replaces": "$navigationNamespace$",
"parameters": {
"evaluator": "C++",
"cases": [
{
"condition": "(navigationEvaluator == 'regions' && useDependencyInjection)",
"value": "\n\txmlns:uen=\"using:Uno.Extensions.Navigation.UI\""
},
{
"condition": "true",
"value": ""
}
]
}
},
"toolkitSafeArea": {
"type": "generated",
"generator": "switch",
Expand Down Expand Up @@ -1670,6 +1653,24 @@
"fallbackVariableName": "presetNavigationDefault"
}
},
"navigationNamespace": {
"type": "generated",
"generator": "switch",
"replaces": "$navigationNamespace$",
"parameters": {
"evaluator": "C++",
"cases": [
{
"condition": "(navigationEvaluator == 'regions')",
"value": "\n\txmlns:uen=\"using:Uno.Extensions.Navigation.UI\""
},
{
"condition": "true",
"value": ""
}
]
}
},
"useAuthentication": {
"type": "computed",
"datatype": "bool",
Expand Down

0 comments on commit 8670d16

Please sign in to comment.