Skip to content

Commit

Permalink
v4.0.6 UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Decimation committed Nov 5, 2024
1 parent 6f92361 commit ee779e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions SmartImage.Lib/Clients/FlareSolverrClient.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Author: Deci | Project: SmartImage.Lib | Name: FlareSolverrClient.cs
// Date: 2024/10/25 @ 12:10:45

using System.Diagnostics;
using System.Reflection;
using CliWrap;
using FlareSolverrSharp;
Expand Down Expand Up @@ -34,6 +35,7 @@ public bool Configure(string api)

Client = new HttpClient(Clearance);

Trace.WriteLine($"{nameof(FlareSolverrClient)}: init {api}");
return HasClient;
}

Expand Down
4 changes: 4 additions & 0 deletions SmartImage.UI/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@
<Setter Property="Background" Value="SandyBrown" />
<Setter Property="Foreground" Value="Black" />
</DataTrigger>
<DataTrigger Binding="{Binding Result.Root.Engine.Name}" Value="TinEye">
<Setter Property="Background" Value="PaleTurquoise" />
<Setter Property="Foreground" Value="Black" />
</DataTrigger>

<DataTrigger Binding="{Binding Result.Root.Engine.IsAdvanced}" Value="False">
<!-- <Setter Property="FontStyle" Value="Italic" /> -->
Expand Down
3 changes: 1 addition & 2 deletions SmartImage.UI/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public MainWindow()

private readonly ICollectionView m_cvResults;

private static readonly ILogger Logger = LoggerFactory
private static readonly ILogger s_logger = LoggerFactory
.Create(builder => builder.AddDebug().AddProvider(new DebugLoggerProvider()))
.CreateLogger(nameof(MainWindow));

Expand Down Expand Up @@ -1508,5 +1508,4 @@ private void SetRenderMode()
}
}


}
2 changes: 1 addition & 1 deletion SmartImage.UI/SmartImage.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<AssemblyName>SmartImage</AssemblyName>
<ApplicationIcon>Icon.ico</ApplicationIcon>
<FileVersion></FileVersion>
<AssemblyVersion>4.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.6.0</AssemblyVersion>
<NoWarn>IDE0290</NoWarn>
<EnableSourceControlManagerQueries>True</EnableSourceControlManagerQueries>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
Expand Down

0 comments on commit ee779e3

Please sign in to comment.