From 4ff9d7ad9162507cb94e6c117ff2d3caaec6cbcc Mon Sep 17 00:00:00 2001 From: Trey t Date: Sun, 6 Feb 2022 15:17:31 -0600 Subject: [PATCH] update main view header bar graph font --- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 2 +- Shared/views/HeaderStatsView.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Feels.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Feels.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index af38795..6a10697 100644 --- a/Feels.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Feels.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,7 +6,7 @@ "repositoryURL": "https://github.com/akatreyt/ChartsPackage", "state": { "branch": "master", - "revision": "f4f414828b79f0aa545f84f6fe38e2cf7f239865", + "revision": "e55fef3e8c294d5c2b25014d6d0734760b3ca6fa", "version": null } }, diff --git a/Shared/views/HeaderStatsView.swift b/Shared/views/HeaderStatsView.swift index b7bcf52..5ab6734 100644 --- a/Shared/views/HeaderStatsView.swift +++ b/Shared/views/HeaderStatsView.swift @@ -99,10 +99,10 @@ struct HeaderStatsView : UIViewRepresentable { dataSet.roundedCornerValue = 10 if let descriptor = UIFontDescriptor.preferredFontDescriptor( - withTextStyle: .body).withSymbolicTraits([.traitBold]) { + withTextStyle: .title1).withSymbolicTraits([.traitBold]) { dataSet.valueFont = UIFont(descriptor: descriptor, size: 0) } else { - dataSet.valueFont = UIFont.preferredFont(forTextStyle: .body) + dataSet.valueFont = UIFont.preferredFont(forTextStyle: .title1) } return dataSet