Skip to content

Commit

Permalink
up PackageReference
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Apr 28, 2024
1 parent 19c8af5 commit e39df44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions clashN/clashN/ViewModels/ConnectionsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ private void Init()
Observable.Interval(TimeSpan.FromSeconds(AutoRefreshInterval))
.Subscribe(x =>
{
if (AutoRefresh && Global.ShowInTaskbar)
if (!(AutoRefresh && Global.ShowInTaskbar))
{
GetClashConnections();
return;
}
GetClashConnections();
});

//Task.Run(() =>
Expand Down
2 changes: 1 addition & 1 deletion clashN/clashN/ViewModels/ProxiesViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ public void DelayTestTask()
Observable.Interval(TimeSpan.FromSeconds(60))
.Subscribe(x =>
{
if (!AutoRefresh || !Global.ShowInTaskbar)
if (!(AutoRefresh && Global.ShowInTaskbar))
{
return;
}
Expand Down
4 changes: 2 additions & 2 deletions clashN/clashN/clashN.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="NHotkey" Version="3.0.0" />
<PackageReference Include="NHotkey.Wpf" Version="3.0.0" />
<PackageReference Include="QRCoder.Xaml" Version="1.4.3" />
<PackageReference Include="QRCoder.Xaml" Version="1.5.1" />
<PackageReference Include="TaskScheduler" Version="2.10.1" />
<PackageReference Include="YamlDotNet" Version="15.1.2" />
<PackageReference Include="ZXing.Net.Bindings.Windows.Compatibility" Version="0.16.12" />
<PackageReference Include="ReactiveUI.Fody" Version="19.5.41" />
<PackageReference Include="ReactiveUI.Validation" Version="3.1.7" />
<PackageReference Include="ReactiveUI.WPF" Version="19.6.1" />
<PackageReference Include="ReactiveUI.WPF" Version="19.6.12" />
<PackageReference Include="Splat.NLog" Version="14.8.12" />
<PackageReference Include="System.Reactive" Version="6.0.0" />
</ItemGroup>
Expand Down

0 comments on commit e39df44

Please sign in to comment.