fix(mobile): update toast icons to use filled variants for better visibility

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei 2025-04-09 21:12:07 +08:00
parent 104c3fb5f1
commit 16de0b54da
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 3 additions and 3 deletions

View File

@ -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)
}
}