Skip to content

Commit

Permalink
Fixed recipe filter.
Browse files Browse the repository at this point in the history
Added splashscreen.
  • Loading branch information
josdemmers committed Mar 14, 2022
1 parent ac7c303 commit fcb1774
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Binary file added NewWorldCompanion/Images/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions NewWorldCompanion/NewWorldCompanion.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<None Remove="Images\engineering_trade_skill_icon_250px.png" />
<None Remove="Images\furnishing_trade_skill_icon_250px.png" />
<None Remove="Images\jewelcrafting_trade_skill_icon_250px.png" />
<None Remove="Images\splash.png" />
<None Remove="Images\weaponsmithing_trade_skill_icon_250px.png" />
</ItemGroup>

Expand Down Expand Up @@ -47,4 +48,8 @@
<ProjectReference Include="..\NewWorldCompanion.Services\NewWorldCompanion.Services.csproj" />
</ItemGroup>

<ItemGroup>
<SplashScreen Include="Images\splash.png" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion NewWorldCompanion/ViewModels/Tabs/CraftingViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ private void HandleOcrTextReadyEvent()
//TODO Cleanup name. For example Toilvium -> Tolvium

// Only set filter for recipe items.
if (CraftingRecipes.Any(recipe => recipe.Localisation.ToLower().Contains(_ocrHandler.OcrText)))
if (CraftingRecipes.Any(recipe => recipe.Localisation.Contains(_ocrHandler.OcrText)))
{
ItemNameFilter = _ocrHandler.OcrText;
}
Expand Down
4 changes: 2 additions & 2 deletions NewWorldCompanion/common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<FileVersion>1.0.2.0</FileVersion>
<Version>1.0.2.0</Version>
<FileVersion>1.0.2.1</FileVersion>
<Version>1.0.2.1</Version>
<Copyright>Copyright © 2022</Copyright>
</PropertyGroup>
</Project>

0 comments on commit fcb1774

Please sign in to comment.