feat: unify option name.

This commit is contained in:
rabbitism
2024-08-01 12:06:41 +08:00
parent 8941ddfce4
commit 51a1e43608
4 changed files with 5 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ public static class Drawer
{
options ??= DrawerOptions.Default;
drawer.Position = options.Position;
drawer.IsCloseButtonVisible = options.ShowCloseButton;
drawer.IsCloseButtonVisible = options.IsCloseButtonVisible;
drawer.CanLightDismiss = options.CanLightDismiss;
if (options.Position == Position.Left || options.Position == Position.Right)
{