diff --git a/StatisticsAnalysisTool/StatisticsAnalysisTool/MainWindow.xaml b/StatisticsAnalysisTool/StatisticsAnalysisTool/MainWindow.xaml
index 64db0f9ec..06723b531 100644
--- a/StatisticsAnalysisTool/StatisticsAnalysisTool/MainWindow.xaml
+++ b/StatisticsAnalysisTool/StatisticsAnalysisTool/MainWindow.xaml
@@ -23,7 +23,7 @@
-
+
@@ -68,7 +68,7 @@
()
-
+
diff --git a/StatisticsAnalysisTool/StatisticsAnalysisTool/Models/ItemWithMarketInformation.cs b/StatisticsAnalysisTool/StatisticsAnalysisTool/Models/ItemWithMarketInformation.cs
deleted file mode 100644
index dfedc6ab9..000000000
--- a/StatisticsAnalysisTool/StatisticsAnalysisTool/Models/ItemWithMarketInformation.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using StatisticsAnalysisTool.Common;
-using System.Windows.Media.Imaging;
-
-namespace StatisticsAnalysisTool.Models
-{
- public class ItemWithMarketInformation
- {
- private readonly Item _item;
-
- public ItemWithMarketInformation(Item item)
- {
- _item = item;
- }
-
- public string LocalizationNameVariable => _item.LocalizationNameVariable;
- public string LocalizationDescriptionVariable => _item.LocalizationDescriptionVariable;
- public Item.LocalizedNamesStruct? LocalizedNames => _item.LocalizedNames;
- public int Index => _item.Index;
- public string UniqueName => _item.UniqueName;
- public string LocalizedName(string language = null) => _item.LocalizedName(language);
- public string LocalizedNameAndEnglish => _item.LocalizedNameAndEnglish;
- public BitmapImage Icon => _item.Icon;
-
- public decimal PriceAvgCaerleon => ApiController.GetMarketStatAvgPriceFromJsonAsync(_item.UniqueName, Location.Caerleon).Result;
- public decimal PriceAvgBridgewatch => ApiController.GetMarketStatAvgPriceFromJsonAsync(_item.UniqueName, Location.Bridgewatch).Result;
- public decimal PriceAvgFortSterling => ApiController.GetMarketStatAvgPriceFromJsonAsync(_item.UniqueName, Location.FortSterling).Result;
- public decimal PriceAvgLymhurst => ApiController.GetMarketStatAvgPriceFromJsonAsync(_item.UniqueName, Location.Lymhurst).Result;
- public decimal PriceAvgMartlock => ApiController.GetMarketStatAvgPriceFromJsonAsync(_item.UniqueName, Location.Martlock).Result;
- public decimal PriceAvgThetford => ApiController.GetMarketStatAvgPriceFromJsonAsync(_item.UniqueName, Location.Thetford).Result;
-
- }
-}
diff --git a/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisManager.cs b/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisManager.cs
index 595a568b4..f5c25de61 100644
--- a/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisManager.cs
+++ b/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisManager.cs
@@ -104,7 +104,7 @@ public static async Task> FindItemsAsync(string searchText)
{
try
{
- return Items?.FindAll(s => (s.LocalizedNameAndEnglish().ToLower().Contains(searchText.ToLower())));
+ return Items?.FindAll(s => (s.LocalizedNameAndEnglish.ToLower().Contains(searchText.ToLower())));
}
catch (Exception ex)
{
diff --git a/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisTool.csproj b/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisTool.csproj
index d2e8a146c..b09849de3 100644
--- a/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisTool.csproj
+++ b/StatisticsAnalysisTool/StatisticsAnalysisTool/StatisticsAnalysisTool.csproj
@@ -100,7 +100,6 @@
-