Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ramos committed Aug 6, 2019
2 parents 47ae405 + 8f59e7f commit 4a709cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Inventory.App/Converters/Int64Converter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ public object Convert(object value, Type targetType, object parameter, string la
{
if (targetType == typeof(String))
{
return n64 == 0 ? "" : n64.ToString();
return n64 == 0L ? "" : n64.ToString();
}
return n64;
}
if (targetType == typeof(String))
{
return "";
}
return 0;
return 0L;
}

public object ConvertBack(object value, Type targetType, object parameter, string language)
Expand All @@ -46,7 +46,7 @@ public object ConvertBack(object value, Type targetType, object parameter, strin
return n64;
}
}
return 0;
return 0L;
}
}
}
1 change: 0 additions & 1 deletion src/Inventory.App/Views/Shell/ShellView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ private void OnViewConsolidated(ApplicationView sender, ApplicationViewConsolida
var appView = ApplicationView.GetForCurrentView();
appView.Consolidated -= OnViewConsolidated;
ServiceLocator.DisposeCurrent();
Window.Current.Close();
}

private async void OnUnlockClick(object sender, Windows.UI.Xaml.RoutedEventArgs e)
Expand Down

0 comments on commit 4a709cd

Please sign in to comment.