spacing on custom icon widget
create color extension for random widget 512x512 ... 1024x1024 didn't work clean up Icon Widget View
This commit is contained in:
@@ -145,3 +145,13 @@ extension Date {
|
||||
return dates
|
||||
}
|
||||
}
|
||||
|
||||
extension Color {
|
||||
static func random() -> Self {
|
||||
Self(
|
||||
red: .random(in: 0...1),
|
||||
green: .random(in: 0...1),
|
||||
blue: .random(in: 0...1)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user