Merge pull request #17 from konekoya/main

Remove extra parenthesis from the example
This commit is contained in:
Ivan Vorobei
2023-04-22 17:40:36 +03:00
committed by GitHub
+1 -1
View File
@@ -65,7 +65,7 @@ SPIndicator.present(title: "Error", message: "Try Again", preset: .error)
// For show with custom image:
let image = UIImage.init(systemName: "sun.min.fill")!.withTintColor(.systemYellow, renderingMode: .alwaysOriginal)
SPIndicator.present(title: "Custom Image", message: "With tint color", preset: .custom(image)))
SPIndicator.present(title: "Custom Image", message: "With tint color", preset: .custom(image))
// For show text only:
SPIndicator.present(title: "Error", haptic: .error)