Skip to content

Commit b045bb9

Browse files
committed
Add better name.
1 parent cf6fedd commit b045bb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Core/Core/Common/CommonUI/CoreWebView/Model/Features/InsertStudioOpenDetailViewButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ import UIKit
2121
class InsertStudioOpenInDetailButtons: CoreWebViewFeature {
2222

2323
private let insertStyle: String = {
24-
let fontSize = UIFont.scaledNamedFont(.regular14)
24+
let fontSize = UIFont.scaledNamedFont(.regular14).pointSize
2525
let css = """
2626
p[ios-injected] {
2727
text-align: center;
2828
}
2929
3030
.open_details_button {
3131
font-weight: 400;
32-
font-size: \(fontSize.pointSize)px;
32+
font-size: \(fontSize)px;
3333
text-decoration: none;
3434
color: #2B7ABC;
3535
}

0 commit comments

Comments
 (0)