Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Inventory.App/Controls/Details/Details.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion src/Inventory.App/Controls/Toolbars/DetailToolbar.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/Inventory.App/Controls/Toolbars/ToolbarCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public enum ListToolbarMode
public enum DetailToolbarMode
{
Default,
BackEditdDelete,
BackEditDelete,
CancelSave
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public enum ListToolbarMode
public enum DetailToolbarMode
{
Default,
BackEditdDelete,
BackEditDelete,
CancelSave
}
}