Skip to content

Commit

Permalink
Make it obsolete.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Aug 7, 2024
1 parent c96834b commit bb9c909
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public static async Task<IShape> CreateAdHocShapeForCurrentThemeAsync(
/// Adds the warning to the screen which says "The website might be restarted upon saving the settings, potentially
/// leading to temporary unresponsiveness during the process.".
/// </summary>
[Obsolete("Use OC's AddTenantReloadWarningWrapper extension method instead.")]
public static void AddTenantReloadWarning(this IShape shape) =>
shape.Metadata.Wrappers.Add("Settings_Wrapper__Reload");
}

0 comments on commit bb9c909

Please sign in to comment.