Skip to content

Commit

Permalink
Updated version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Oct 16, 2023
1 parent f4205cc commit 1a3805c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SPAlert.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'SPAlert'
s.version = '5.1.0'
s.version = '5.1.2'
s.summary = 'Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. Support SwiftUI.'
s.homepage = 'https://github.com/sparrowcode/AlertKit'
s.source = { :git => 'https://github.com/sparrowcode/AlertKit.git', :tag => s.version }
Expand Down
4 changes: 2 additions & 2 deletions Sources/AlertKit/Views/AlertAppleMusic16View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class AlertAppleMusic16View: UIView, AlertViewProtocol {

public static var defaultContentColor = UIColor { trait in
switch trait.userInterfaceStyle {
case .dark: UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
default: UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
case .dark: return UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
default: return UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
}
}

Expand Down
4 changes: 2 additions & 2 deletions Sources/AlertKit/Views/AlertAppleMusic17View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public class AlertAppleMusic17View: UIView, AlertViewProtocol {
return .label
#else
switch trait.userInterfaceStyle {
case .dark: UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
default: UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
case .dark: return UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
default: return UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
}
#endif
}
Expand Down

0 comments on commit 1a3805c

Please sign in to comment.