fix(ios): unify toolbar controls and release build 3

This commit is contained in:
chick
2026-09-13 01:15:41 +08:00
parent 2ff23d1fb0
commit 27687868ef
7 changed files with 45 additions and 18 deletions
@@ -118,28 +118,19 @@ struct FleetView: View {
}
} else {
ToolbarItemGroup(placement: .primaryAction) {
Button {
AIIconButton("管理分组", systemImage: "folder.badge.gearshape") {
model.showingGroupManager = true
} label: {
Image(systemName: "folder.badge.gearshape")
}
.accessibilityLabel("管理分组")
.disabled(model.isLoading)
Button {
AIIconButton("批量选择", systemImage: "checklist") {
model.selectionMode = true
} label: {
Image(systemName: "checklist")
}
.accessibilityLabel("批量选择")
.disabled(model.visibleRows.isEmpty)
Button {
AIIconButton("添加实例", systemImage: "plus") {
model.showingForm = true
} label: {
Image(systemName: "plus")
}
.accessibilityLabel("添加实例")
.disabled(model.isLoading)
}
}