diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs index fd6e2ff..7e14568 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/PageBaseViewModel.cs @@ -71,7 +71,7 @@ public virtual void OnLoadComplete() items = items.Where(x => !unusedEnums.Contains(x)).ToArray(); var res = await Page.DisplayActionSheet(title, "Close", null, items); if (items.Contains(res)) - return (true, (TEnum)Enum.Parse(typeof(TEnum),res)); + return (true, (TEnum)Enum.Parse(typeof(TEnum), res)); return (false, default); }