Skip to content

Commit

Permalink
Fix note in 2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffard committed Sep 10, 2024
1 parent 36a05ec commit 01af2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/releases/2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ and removed the following methods:

A new `SiteDisplayDriver` base class was introduced to simplify the process of adding a UI settings.

!!! note
!!! note
With the new `SiteDisplayDriver` base class for custom settings, you no longer need explicit checks like `context.GroupId.Equals(GroupId, StringComparison.OrdinalIgnoreCase)` as the base class handles this check for you.

A new extension has been introduced to simplify the registration of site setting drivers. Instead of using `service.AddScoped<IDisplayDriver<ISite>, CustomSettingsDisplayDriver>()`, you can now register it with the more streamlined `service.AddSiteDisplayDriver<CustomSettingsDisplayDriver>()`.
Expand Down

0 comments on commit 01af2ed

Please sign in to comment.