mirror of
https://github.com/seemoo-lab/openhaystack.git
synced 2026-03-27 13:26:50 +00:00
New icons come with random appearance
This commit is contained in:
@@ -79,8 +79,8 @@ class AccessoryController: ObservableObject {
|
||||
}
|
||||
}
|
||||
|
||||
func addAccessory(with name: String, color: Color, icon: String) throws -> Accessory {
|
||||
let accessory = try Accessory(name: name, color: color, iconName: icon)
|
||||
func addAccessory() throws -> Accessory {
|
||||
let accessory = try Accessory()
|
||||
withAnimation {
|
||||
self.accessories.append(accessory)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user