diff --git a/ZicMoove/ZicMoove.Droid/ZicMoove.Droid.csproj b/ZicMoove/ZicMoove.Droid/ZicMoove.Droid.csproj index 4b56829f..21e18e8b 100644 --- a/ZicMoove/ZicMoove.Droid/ZicMoove.Droid.csproj +++ b/ZicMoove/ZicMoove.Droid/ZicMoove.Droid.csproj @@ -471,7 +471,6 @@ - @@ -479,7 +478,8 @@ - + + diff --git a/ZicMoove/ZicMoove/Pages/EstimatePages/BookQueryPage.xaml.cs b/ZicMoove/ZicMoove/Pages/EstimatePages/BookQueryPage.xaml.cs index f217ad47..184ff4ca 100644 --- a/ZicMoove/ZicMoove/Pages/EstimatePages/BookQueryPage.xaml.cs +++ b/ZicMoove/ZicMoove/Pages/EstimatePages/BookQueryPage.xaml.cs @@ -67,8 +67,8 @@ namespace ZicMoove.Pages if (editEstimateViewModel == null) { // First search for an existing estimate - editEstimateViewModel = DataManager.Instance.EstimationCache.FirstOrDefault( - estimate=> estimate.Query.Id == bookQueryViewModel.Id + editEstimateViewModel = DataManager.Instance.EstimationCache.LocalGet( + bookQueryViewModel.Id ); if (editEstimateViewModel == null) {