fix(mobile): update toast icons to use filled variants for better visibility
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
parent
104c3fb5f1
commit
16de0b54da
|
|
@ -58,9 +58,9 @@ extension Toast.Position {
|
|||
extension Toast.ToastType {
|
||||
func image() -> UIImage {
|
||||
switch self {
|
||||
case .error: UIImage(systemName: "xmark.octagon")!.withTintColor(.systemRed)
|
||||
case .warn: UIImage(systemName: "exclamationmark.triangle")!.withTintColor(.systemOrange)
|
||||
case .info: UIImage(systemName: "info.circle")!.withTintColor(.systemBlue)
|
||||
case .error: UIImage(systemName: "xmark.circle.fill")!.withTintColor(.systemRed)
|
||||
case .warn: UIImage(systemName: "exclamationmark.triangle.fill")!.withTintColor(.systemOrange)
|
||||
case .info: UIImage(systemName: "info.circle.fill")!.withTintColor(.systemBlue)
|
||||
case .success: UIImage(systemName: "checkmark.circle.fill")!.withTintColor(.systemGreen)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue