Skip to content

Commit

Permalink
Updated some files
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsMEMZ committed Oct 5, 2023
1 parent 9a4f116 commit 5b1b1cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/DarockKit/DarockKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ public class DarockKit {

public static var shared = UIAlert()

public func presentAlert(title: String, subtitle: String? = nil, icon: AlertIcon? = nil, style: AlertViewStyle? = nil, haptic: AlertHaptic? = nil) {
AlertKitAPI.present(title: title, subtitle: subtitle, icon: icon, style: style ?? .iOS17AppleMusic, haptic: haptic)
public func presentAlert(title: String, subtitle: String? = nil, icon: AlertIcon? = nil, style: AlertViewStyle? = nil, haptic: AlertHaptic? = nil, duration: TimeInterval? = nil) {
AlertKitAPI.present(title: title, subtitle: subtitle, icon: icon, style: style ?? .iOS17AppleMusic, haptic: haptic, duration: duration)
}
}
#endif
Expand Down

0 comments on commit 5b1b1cc

Please sign in to comment.