From 1299202bba1c22f63212664fb178c676aa4a2442 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sat, 27 Jan 2024 09:52:27 +0100 Subject: [PATCH] Fix #1927 --- .../Row/Subviews/StatusRowActionsView.swift | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift index 5b6221bf..268107f8 100644 --- a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift @@ -141,7 +141,8 @@ struct StatusRowActionsView: View { case .linkOnly: ShareLink(item: url) { action.image(dataController: statusDataController) - .font(.scaledBody) + .font(.body) + .dynamicTypeSize(.medium) } .padding(.vertical, 6) .padding(.horizontal, 8) @@ -159,7 +160,8 @@ struct StatusRowActionsView: View { message: Text(viewModel.finalStatus.content.asRawText)) { action.image(dataController: statusDataController) - .font(.scaledBody) + .font(.body) + .dynamicTypeSize(.medium) } .padding(.vertical, 6) .padding(.horizontal, 8) @@ -213,12 +215,14 @@ struct StatusRowActionsView: View { action .image(dataController: statusDataController, privateBoost: privateBoost()) .imageScale(.medium) - .font(.scaledBody) + .font(.body) .fontWeight(.black) + .dynamicTypeSize(.medium) } else { action .image(dataController: statusDataController, privateBoost: privateBoost()) - .font(.scaledBody) + .font(.body) + .dynamicTypeSize(.medium) } if !isNarrow, let count = action.count(dataController: statusDataController, @@ -230,7 +234,8 @@ struct StatusRowActionsView: View { .minimumScaleFactor(0.6) .contentTransition(.numericText(value: Double(count))) .foregroundColor(Color(UIColor.secondaryLabel)) - .font(.scaledFootnote) + .font(.footnote) + .dynamicTypeSize(.small) .monospacedDigit() .opacity(count > 0 ? 1 : 0) }