File tree Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ public class Navigate {
25
25
public var color : UIColor {
26
26
switch self {
27
27
case . error:
28
- return . systemRed
28
+ return . red
29
29
case . warning:
30
- return . systemYellow
30
+ return . yellow
31
31
case . success:
32
- return . systemGreen
32
+ return . green
33
33
case . info:
34
- return . systemBlue
34
+ return . blue
35
35
case . debug:
36
- return . systemGray
36
+ return . gray
37
37
case . custom:
38
38
return . clear
39
39
}
Original file line number Diff line number Diff line change @@ -36,21 +36,3 @@ public class BlurView: UIVisualEffectView {
36
36
fatalError ( " init(coder:) has not been implemented " )
37
37
}
38
38
}
39
-
40
- @available ( iOS 13 . 0 , * )
41
- public class VibrancyView : UIVisualEffectView {
42
- public init ( blurStyle blur: UIBlurEffect . Style = UIBlurEffect . Style. regular,
43
- vibrancyStyle vibrancy: UIVibrancyEffectStyle = . fill,
44
- closure: ( ) -> UIView ) {
45
- super. init ( effect: UIVibrancyEffect ( blurEffect: UIBlurEffect ( style: blur) ,
46
- style: vibrancy) )
47
-
48
- contentView. embed {
49
- closure ( )
50
- }
51
- }
52
-
53
- required init ? ( coder aDecoder: NSCoder ) {
54
- fatalError ( " init(coder:) has not been implemented " )
55
- }
56
- }
Original file line number Diff line number Diff line change @@ -11,11 +11,7 @@ import UIKit
11
11
public class LoadingView : UIActivityIndicatorView {
12
12
public init ( forStyle style: UIActivityIndicatorView . Style ? = nil ) {
13
13
guard let style = style else {
14
- if #available( iOS 13 . 0 , * ) {
15
- super. init ( style: . medium)
16
- } else {
17
- super. init ( style: . white)
18
- }
14
+ super. init ( style: . white)
19
15
return
20
16
}
21
17
You can’t perform that action at this time.
0 commit comments