minor fix on font size

pull/874/head
Ryan ZHAO 1 year ago
parent e235b6059f
commit 2b1fb422bf

@ -221,7 +221,7 @@ struct MessageInfoScreen: View {
} }
if isMessageFailed { if isMessageFailed {
let failureText: String = messageViewModel.mostRecentFailureText ?? "Message failed to send" let failureText: String = messageViewModel.mostRecentFailureText ?? "SEND_FAILED_NOTIFICATION_BODY".localized()
InfoBlock(title: "ALERT_ERROR_TITLE".localized() + ":") { InfoBlock(title: "ALERT_ERROR_TITLE".localized() + ":") {
Text(failureText) Text(failureText)
.font(.system(size: Values.mediumFontSize)) .font(.system(size: Values.mediumFontSize))
@ -268,7 +268,7 @@ struct MessageInfoScreen: View {
.foregroundColor(themeColor: .textPrimary) .foregroundColor(themeColor: .textPrimary)
} }
Text(messageViewModel.authorId) Text(messageViewModel.authorId)
.font(.spaceMono(size: Values.mediumFontSize)) .font(.spaceMono(size: Values.smallFontSize))
.foregroundColor(themeColor: .textPrimary) .foregroundColor(themeColor: .textPrimary)
} }
} }

Loading…
Cancel
Save