From 3cbce0c8bcbd326a7bc95c05e0a06f2292c25cf4 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 3 Mar 2017 00:12:00 +0100 Subject: [PATCH] fixes startup --- ZicMoove/ZicMoove.Droid/ZicMoove.Droid.csproj | 4 ++-- ZicMoove/ZicMoove/Pages/EstimatePages/BookQueryPage.xaml.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) {