fmodf
b3b3b3aef7
Reviewed-on: narayana/conversations-classic-ios#1 Co-authored-by: fmodf <fmodf.ios@gmail.com> Co-committed-by: fmodf <fmodf.ios@gmail.com>
14 lines
402 B
Swift
14 lines
402 B
Swift
import SwiftUI
|
|
|
|
public extension Color {
|
|
static let clearTappable = Color.white.opacity(0.0001)
|
|
// static func random(randomOpacity: Bool = false) -> Color {
|
|
// Color(
|
|
// red: .random(in: 0 ... 1),
|
|
// green: .random(in: 0 ... 1),
|
|
// blue: .random(in: 0 ... 1),
|
|
// opacity: randomOpacity ? .random(in: 0 ... 1) : 1
|
|
// )
|
|
// }
|
|
}
|