mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-26 21:17:20 -08:00
code_style: remove unused var
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
4835c3f1e9
commit
a5f37800f6
1 changed files with 1 additions and 1 deletions
|
@ -730,7 +730,7 @@ namespace SourceGit.Views
|
||||||
|
|
||||||
private void OnCommitListDoubleTapped(object sender, TappedEventArgs e)
|
private void OnCommitListDoubleTapped(object sender, TappedEventArgs e)
|
||||||
{
|
{
|
||||||
if (DataContext is ViewModels.Histories histories && sender is ListBox { SelectedItems: { Count: 1 } } listBox)
|
if (DataContext is ViewModels.Histories histories && sender is ListBox { SelectedItems: { Count: 1 } })
|
||||||
{
|
{
|
||||||
var source = e.Source as Control;
|
var source = e.Source as Control;
|
||||||
var item = source.FindAncestorOfType<ListBoxItem>();
|
var item = source.FindAncestorOfType<ListBoxItem>();
|
||||||
|
|
Loading…
Reference in a new issue