File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Source/Model/EntryAttributes Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ public extension EKAttributes {
2222 /** Hidden. Doesn't apply to iPhone X */
2323 case hidden
2424
25+ /** Visible with explicit default style */
26+ case `default`
27+
2528 /** Visible with explicit dark style */
2629 case dark
2730
@@ -37,6 +40,8 @@ public extension EKAttributes {
3740 Note: See *Appearance* */
3841 public var appearance : Appearance {
3942 switch self {
43+ case . `default`:
44+ return ( true , . default)
4045 case . dark:
4146 if #available( iOS 13 , * ) {
4247 return ( true , . darkContent)
@@ -62,8 +67,10 @@ public extension EKAttributes {
6267 switch appearance. style {
6368 case . lightContent:
6469 return . light
65- default :
70+ case . darkContent :
6671 return . dark
72+ default :
73+ return . `default`
6774 }
6875 }
6976
You can’t perform that action at this time.
0 commit comments