mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-29 03:31:02 +00:00
Fix #1927
This commit is contained in:
parent
f16f0d514b
commit
1299202bba
1 changed files with 10 additions and 5 deletions
|
@ -141,7 +141,8 @@ struct StatusRowActionsView: View {
|
||||||
case .linkOnly:
|
case .linkOnly:
|
||||||
ShareLink(item: url) {
|
ShareLink(item: url) {
|
||||||
action.image(dataController: statusDataController)
|
action.image(dataController: statusDataController)
|
||||||
.font(.scaledBody)
|
.font(.body)
|
||||||
|
.dynamicTypeSize(.medium)
|
||||||
}
|
}
|
||||||
.padding(.vertical, 6)
|
.padding(.vertical, 6)
|
||||||
.padding(.horizontal, 8)
|
.padding(.horizontal, 8)
|
||||||
|
@ -159,7 +160,8 @@ struct StatusRowActionsView: View {
|
||||||
message: Text(viewModel.finalStatus.content.asRawText))
|
message: Text(viewModel.finalStatus.content.asRawText))
|
||||||
{
|
{
|
||||||
action.image(dataController: statusDataController)
|
action.image(dataController: statusDataController)
|
||||||
.font(.scaledBody)
|
.font(.body)
|
||||||
|
.dynamicTypeSize(.medium)
|
||||||
}
|
}
|
||||||
.padding(.vertical, 6)
|
.padding(.vertical, 6)
|
||||||
.padding(.horizontal, 8)
|
.padding(.horizontal, 8)
|
||||||
|
@ -213,12 +215,14 @@ struct StatusRowActionsView: View {
|
||||||
action
|
action
|
||||||
.image(dataController: statusDataController, privateBoost: privateBoost())
|
.image(dataController: statusDataController, privateBoost: privateBoost())
|
||||||
.imageScale(.medium)
|
.imageScale(.medium)
|
||||||
.font(.scaledBody)
|
.font(.body)
|
||||||
.fontWeight(.black)
|
.fontWeight(.black)
|
||||||
|
.dynamicTypeSize(.medium)
|
||||||
} else {
|
} else {
|
||||||
action
|
action
|
||||||
.image(dataController: statusDataController, privateBoost: privateBoost())
|
.image(dataController: statusDataController, privateBoost: privateBoost())
|
||||||
.font(.scaledBody)
|
.font(.body)
|
||||||
|
.dynamicTypeSize(.medium)
|
||||||
}
|
}
|
||||||
if !isNarrow,
|
if !isNarrow,
|
||||||
let count = action.count(dataController: statusDataController,
|
let count = action.count(dataController: statusDataController,
|
||||||
|
@ -230,7 +234,8 @@ struct StatusRowActionsView: View {
|
||||||
.minimumScaleFactor(0.6)
|
.minimumScaleFactor(0.6)
|
||||||
.contentTransition(.numericText(value: Double(count)))
|
.contentTransition(.numericText(value: Double(count)))
|
||||||
.foregroundColor(Color(UIColor.secondaryLabel))
|
.foregroundColor(Color(UIColor.secondaryLabel))
|
||||||
.font(.scaledFootnote)
|
.font(.footnote)
|
||||||
|
.dynamicTypeSize(.small)
|
||||||
.monospacedDigit()
|
.monospacedDigit()
|
||||||
.opacity(count > 0 ? 1 : 0)
|
.opacity(count > 0 ? 1 : 0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue