Skip to content

Commit

Permalink
Unused class removed + LocalizedNameAndEnglish fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Triky313 committed Feb 2, 2020
1 parent 4e4aed6 commit 13e47a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 36 deletions.
4 changes: 2 additions & 2 deletions StatisticsAnalysisTool/StatisticsAnalysisTool/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<fa:ImageAwesome x:Name="FaLoadIcon" Visibility="Hidden" Icon="CircleOutlineNotch" Spin="True" SpinDuration="4" Foreground="{StaticResource SolidColorBrush.Foreground.First}" />
</Grid>
</Grid>
<Grid x:Name="GridNormalMode" Margin="0,80,0,0" Visibility="Hidden">
<Grid x:Name="GridNormalMode" Margin="0,80,0,0" Visibility="Visible">
<TextBox x:Name="TxtSearch" HorizontalAlignment="Left" Height="23" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="299" KeyUp="TxtSearch_KeyUp"/>
<Label x:Name="LblItemCounter" Content="0/0" Height="26" Margin="0,6,10,0" VerticalAlignment="Top" Foreground="{StaticResource SolidColorBrush.Foreground.First}" HorizontalContentAlignment="Right" HorizontalAlignment="Right" Width="110" />

Expand Down Expand Up @@ -68,7 +68,7 @@
(<Hyperlink NavigateUri="{Binding Path=DonateUrl}" RequestNavigate="Hyperlink_RequestNavigate"><TextBlock Foreground="{StaticResource SolidColorBrush.Hyperlink.First}" Text="Donate" /></Hyperlink>)</TextBlock>
</Grid>
</Grid>
<Grid x:Name="GridPlayerMode" Margin="0,80,0,0" Visibility="Visible">
<Grid x:Name="GridPlayerMode" Margin="0,80,0,0" Visibility="Hidden">
<TextBox x:Name="TxtBoxPlayerModeUsername" Text="{Binding Path=SavedPlayerInformationName, ElementName=window}" HorizontalAlignment="Left" Height="25" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200" KeyDown="TxtBoxPlayerModeUsername_KeyDown"/>
<Button x:Name="BtnPlayerModeSave" Content="{Binding Path=SaveTranslation}" Style="{StaticResource ButtonStyle}" HorizontalAlignment="Left" Margin="215,10,0,0" VerticalAlignment="Top" Width="110" Height="25" Click="BtnPlayerModeSave_Click"/>
<ScrollViewer Margin="0,40,0,20" HorizontalScrollBarVisibility="Disabled">
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static async Task<List<Item>> 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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
<Compile Include="Models\Guild.cs" />
<Compile Include="Models\GameInfoPlayers.cs" />
<Compile Include="Models\SearchInfos.cs" />
<Compile Include="Models\ItemWithMarketInformation.cs" />
<Compile Include="Models\MarketOrder.cs" />
<Compile Include="Models\MarketStats.cs" />
<Compile Include="Properties\Resources.Designer.cs">
Expand Down

0 comments on commit 13e47a3

Please sign in to comment.