mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-10-28 13:13:47 +00:00
fix(ui): update import button label and adjust sidebar column width
This commit is contained in:
@@ -53,7 +53,7 @@ struct MainWindowView: View {
|
||||
var body: some View {
|
||||
NavigationSplitView {
|
||||
sidebar
|
||||
.navigationSplitViewColumnWidth(min: 230, ideal: 236, max: 300)
|
||||
.navigationSplitViewColumnWidth(min: 236, ideal: 250, max: 300)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .automatic) {
|
||||
importButton
|
||||
@@ -82,9 +82,9 @@ struct MainWindowView: View {
|
||||
Button {
|
||||
presentWorkspaceSheet(.importServers)
|
||||
} label: {
|
||||
Label("导入服务器", systemImage: "square.and.arrow.down")
|
||||
Label("导入", systemImage: "square.and.arrow.down")
|
||||
}
|
||||
.help("导入服务器")
|
||||
.help("导入")
|
||||
}
|
||||
|
||||
private func presentWorkspaceSheet(_ sheet: WorkspaceSheet) {
|
||||
|
||||
Reference in New Issue
Block a user