Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Dec 18, 2022
1 parent c3affdd commit a5c49c4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public partial class ProxyChartView : UserControl
EnableNullSplitting = false,
DataLabelsSize = 12,
Stroke = LiveChartsSkiaSharp.DefaultPaint,
TooltipLabelFormatter = (e) => $"{AppResources.Upload} {IOPath.GetDisplayFileSizeString(e.PrimaryValue)}/s",
TooltipLabelFormatter = (e) => $"Upload {IOPath.GetDisplayFileSizeString(e.PrimaryValue)}/s",
Mapping = (rate, point) =>
{
point.PrimaryValue = rate.Rate;
Expand All @@ -51,7 +51,7 @@ public partial class ProxyChartView : UserControl
EnableNullSplitting = false,
DataLabelsSize = 12,
Stroke = LiveChartsSkiaSharp.DefaultPaint,
TooltipLabelFormatter = (e) => $"{AppResources.Download} {IOPath.GetDisplayFileSizeString(e.PrimaryValue)}/s",
TooltipLabelFormatter = (e) => $"Download {IOPath.GetDisplayFileSizeString(e.PrimaryValue)}/s",
Mapping = (rate, point) =>
{
point.PrimaryValue = rate.Rate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
Maximum="65535"/>
</DockPanel>-->

<DockPanel>
<!--<DockPanel>
<TextBlock Text="IPV6支持:" />
<TextBlock Text="IPV6地址" ></TextBlock>
<Button Content="{ReflectionBinding Path=Res.Refresh,Mode=OneWay,Source={x:Static resx:R.Current}}"></Button>
</DockPanel>
</DockPanel>-->

<DockPanel>
<TextBlock Text="{ReflectionBinding Path=Res.CommunityFix_AutoRunProxy,Mode=OneWay,Source={x:Static resx:R.Current}}" ></TextBlock>
Expand Down
6 changes: 6 additions & 0 deletions src/ST.Client/Services/Mvvm/ASFService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ public async Task InitASFCore(bool showToast)

IsASFRunOrStoping = true;

//if (ASF.GlobalConfig?.SteamOwnerID is null or 0)
//{
// Toast.Show(AppResources.ASF_Starting, ToastLength.Long);
// return;
//}

var isOk = await archiSteamFarmService.Start();
if (!isOk)
{
Expand Down

0 comments on commit a5c49c4

Please sign in to comment.