mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Remove SWIFTUI compiler directive now that Xcode 12 is required for work on main
This commit is contained in:
@@ -266,10 +266,8 @@ private extension ArticleRenderer {
|
||||
func styleSubstitutions() -> [String: String] {
|
||||
var d = [String: String]()
|
||||
|
||||
#if SWIFTUI
|
||||
let bodyFont = NSFont.preferredFont(forTextStyle: .body)
|
||||
d["font-size"] = String(describing: Int(round(bodyFont.pointSize * 1.33)))
|
||||
#endif
|
||||
let bodyFont = NSFont.preferredFont(forTextStyle: .body)
|
||||
d["font-size"] = String(describing: Int(round(bodyFont.pointSize * 1.33)))
|
||||
|
||||
guard let linkColor = NSColor.controlAccentColor.usingColorSpace(.deviceRGB) else {
|
||||
return d
|
||||
|
||||
@@ -46,5 +46,3 @@ PRODUCT_NAME = NetNewsWire
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 14.0
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Off
|
||||
SWIFT_VERSION = 5.3
|
||||
|
||||
OTHER_SWIFT_FLAGS = -DSWIFTUI $(inherited)
|
||||
|
||||
@@ -44,5 +44,3 @@ PRODUCT_NAME = NetNewsWire
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.16
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = Off
|
||||
SWIFT_VERSION = 5.3
|
||||
|
||||
OTHER_SWIFT_FLAGS = -DSWIFTUI $(inherited)
|
||||
|
||||
Reference in New Issue
Block a user