fix(ios): unify toolbar controls and release build 3
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user