Skip to content

Commit 4d1d473

Browse files
committed
Fix obsoletes.
1 parent 293be59 commit 4d1d473

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lombiq.HelpfulExtensions/Extensions/Widgets/Migrations.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ await _contentDefinitionManager.AlterTypeDefinitionAsync(LiquidWidget, builder =
5454
await _contentDefinitionManager.AlterTypeDefinitionAsync(MenuWidget, builder => builder
5555
.Securable()
5656
.Stereotype(CommonStereotypes.Widget)
57-
.DisplayedAs("Menu Navigation Provider Widget")
57+
.WithDisplayName("Menu Navigation Provider Widget")
5858
.WithDescription(
5959
$"Renders a menu whose contents are populated from {nameof(INavigationProvider)} implementations " +
6060
$"that look for the \"menu\" name (as opposed to admin menu navigation providers that use the " +
@@ -143,7 +143,7 @@ await _contentDefinitionManager.AlterTypeDefinitionAsync(WidgetTypes.ContentItem
143143
public async Task<int> UpdateFrom5Async()
144144
{
145145
await _contentDefinitionManager.AlterTypeDefinitionAsync(MenuWidget, builder => builder
146-
.DisplayedAs("Menu Navigation Provider Widget")
146+
.WithDisplayName("Menu Navigation Provider Widget")
147147
.WithDescription(
148148
$"Renders a menu whose contents are populated from {nameof(INavigationProvider)} implementations " +
149149
$"that look for the \"menu\" name (as opposed to admin menu navigation providers that use the " +

0 commit comments

Comments
 (0)