diff --git a/src/Inventory.App/Controls/Details/Details.xaml.cs b/src/Inventory.App/Controls/Details/Details.xaml.cs index 47b8a26a..4268dcac 100644 --- a/src/Inventory.App/Controls/Details/Details.xaml.cs +++ b/src/Inventory.App/Controls/Details/Details.xaml.cs @@ -167,7 +167,7 @@ public DetailToolbarMode ToolbarMode { return DetailToolbarMode.CancelSave; } - return CanGoBack ? DetailToolbarMode.BackEditdDelete : DetailToolbarMode.Default; + return CanGoBack ? DetailToolbarMode.BackEditDelete : DetailToolbarMode.Default; } } static DependencyExpression ToolbarModeExpression = DependencyExpressions.Register(nameof(ToolbarMode), nameof(IsEditMode), nameof(CanGoBack)); diff --git a/src/Inventory.App/Controls/Toolbars/DetailToolbar.xaml.cs b/src/Inventory.App/Controls/Toolbars/DetailToolbar.xaml.cs index b84b3b39..0c7050b3 100644 --- a/src/Inventory.App/Controls/Toolbars/DetailToolbar.xaml.cs +++ b/src/Inventory.App/Controls/Toolbars/DetailToolbar.xaml.cs @@ -71,7 +71,7 @@ private void UpdateControl() case DetailToolbarMode.Default: ShowCategory(DefaultCommands.Split(',')); break; - case DetailToolbarMode.BackEditdDelete: + case DetailToolbarMode.BackEditDelete: ShowCategory("back", "edit", "delete"); break; case DetailToolbarMode.CancelSave: diff --git a/src/Inventory.App/Controls/Toolbars/ToolbarCommon.cs b/src/Inventory.App/Controls/Toolbars/ToolbarCommon.cs index c5018d31..21168fa3 100644 --- a/src/Inventory.App/Controls/Toolbars/ToolbarCommon.cs +++ b/src/Inventory.App/Controls/Toolbars/ToolbarCommon.cs @@ -38,7 +38,7 @@ public enum ListToolbarMode public enum DetailToolbarMode { Default, - BackEditdDelete, + BackEditDelete, CancelSave } diff --git a/src/Inventory.ViewModels/Infrastructure/Common/ToolbarModes.cs b/src/Inventory.ViewModels/Infrastructure/Common/ToolbarModes.cs index 6b082e48..a70e09f1 100644 --- a/src/Inventory.ViewModels/Infrastructure/Common/ToolbarModes.cs +++ b/src/Inventory.ViewModels/Infrastructure/Common/ToolbarModes.cs @@ -26,7 +26,7 @@ public enum ListToolbarMode public enum DetailToolbarMode { Default, - BackEditdDelete, + BackEditDelete, CancelSave } }