Skip to content

Commit 133542f

Browse files
committed
Update package
1 parent 50e2aac commit 133542f

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

Sources/SwiftUIX/Intermodular/Extensions/SwiftUI/Font++.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ private enum _SwiftUIFontProvider {
159159
let mirror = Mirror(reflecting: subject)
160160

161161
switch String(describing: type(of: subject)) {
162+
case "StaticModifierProvider<BoldModifier>":
163+
guard let base = mirror[_SwiftUIX_keyPath: "base.provider.base"] else {
164+
return nil
165+
}
166+
167+
self.init(from: base)
168+
169+
self.setWeight(.bold)
162170
case "ModifierProvider<WeightModifier>":
163171
guard let base = mirror[_SwiftUIX_keyPath: "base.provider.base"] else {
164172
return nil

Sources/SwiftUIX/Intermodular/Helpers/AppKit or UIKit/AppKitOrUIKitColor+.swift renamed to Sources/SwiftUIX/Intermodular/Helpers/AppKit or UIKit/Color+AppKitOrUIKitColor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Copyright (c) Vatsal Manot
33
//
44

5+
import _SwiftUIX
56
import Swift
67
import SwiftUI
78

0 commit comments

Comments
 (0)