diff --git a/src/ViewModels/GotoParentSelector.cs b/src/ViewModels/GotoParentSelector.cs deleted file mode 100644 index 4c68b78a..00000000 --- a/src/ViewModels/GotoParentSelector.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Collections.Generic; - -namespace SourceGit.ViewModels -{ - public class GotoParentSelector - { - public List Parents - { - get; - } - - public GotoParentSelector(Histories owner, List parents) - { - Parents = parents; - _owner = owner; - } - - public void Sure(Models.Commit commit) - { - _owner.NavigateTo(commit.SHA); - } - - private Histories _owner; - } -} diff --git a/src/Views/GotoParentSelector.axaml b/src/Views/GotoParentSelector.axaml index b6d62ce3..cb871186 100644 --- a/src/Views/GotoParentSelector.axaml +++ b/src/Views/GotoParentSelector.axaml @@ -4,11 +4,9 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="using:SourceGit.Models" xmlns:v="using:SourceGit.Views" - xmlns:vm="using:SourceGit.ViewModels" xmlns:c="using:SourceGit.Converters" mc:Ignorable="d" d:DesignWidth="520" d:DesignHeight="230" x:Class="SourceGit.Views.GotoParentSelector" - x:DataType="vm:GotoParentSelector" x:Name="ThisControl" Icon="/App.ico" Title="{DynamicResource Text.GotoParentSelector}" @@ -39,16 +37,15 @@