2dust
2024-12-19 16:07:45 +08:00
parent b3d8042452
commit b2bbe432e0
3 changed files with 5 additions and 13 deletions

View File

@@ -105,7 +105,7 @@
<DataTemplate>
<Border
Width="160"
Margin="0"
Margin="-6"
Padding="0"
Theme="{StaticResource CardBorder}">
<DockPanel>
@@ -143,13 +143,12 @@
<DataTemplate>
<Border
Width="160"
Margin="0"
Margin="-6"
Padding="0"
Theme="{StaticResource CardBorder}">
<DockPanel>
<Border
Width="5"
Height="30"
Margin="0,1"
Background="YellowGreen"
CornerRadius="4"

View File

@@ -323,7 +323,7 @@ namespace v2rayN.Desktop.Views
ViewModel?.RefreshServers();
}
}
//#endregion Event
//#region UI
@@ -353,10 +353,7 @@ namespace v2rayN.Desktop.Views
}
if (item.Name.ToLower().StartsWith("to"))
{
if (!_config.GuiItem.EnableStatistics)
{
item2.IsVisible = false;
}
item2.IsVisible = _config.GuiItem.EnableStatistics;
}
}
}