Skip to content

Commit 1a3805c

Browse files
committed
Updated version.
1 parent f4205cc commit 1a3805c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

SPAlert.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'SPAlert'
4-
s.version = '5.1.0'
4+
s.version = '5.1.2'
55
s.summary = 'Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. Support SwiftUI.'
66
s.homepage = 'https://github.com/sparrowcode/AlertKit'
77
s.source = { :git => 'https://github.com/sparrowcode/AlertKit.git', :tag => s.version }

Sources/AlertKit/Views/AlertAppleMusic16View.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class AlertAppleMusic16View: UIView, AlertViewProtocol {
1414

1515
public static var defaultContentColor = UIColor { trait in
1616
switch trait.userInterfaceStyle {
17-
case .dark: UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
18-
default: UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
17+
case .dark: return UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
18+
default: return UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
1919
}
2020
}
2121

Sources/AlertKit/Views/AlertAppleMusic17View.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public class AlertAppleMusic17View: UIView, AlertViewProtocol {
1818
return .label
1919
#else
2020
switch trait.userInterfaceStyle {
21-
case .dark: UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
22-
default: UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
21+
case .dark: return UIColor(red: 127 / 255, green: 127 / 255, blue: 129 / 255, alpha: 1)
22+
default: return UIColor(red: 88 / 255, green: 87 / 255, blue: 88 / 255, alpha: 1)
2323
}
2424
#endif
2525
}

0 commit comments

Comments
 (0)