Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
liberty
tunnel
liberty-tunnel-client-library-apple
Commits
cff9a858
Commit
cff9a858
authored
Aug 14, 2018
by
Jose Blaya
Browse files
Follow guidelines for text font and color
parent
8bffd954
Changes
1
Hide whitespace changes
Inline
Side-by-side
PIALibrary/Sources/UI/iOS/Theme.swift
View file @
cff9a858
...
...
@@ -397,12 +397,9 @@ public class Theme {
let
attributedString
=
NSMutableAttributedString
(
string
:
text
)
attributedString
.
addAttribute
(
.
foregroundColor
,
value
:
palette
.
textColor
(
forRelevance
:
2
,
value
:
palette
.
textColor
(
forRelevance
:
1
,
appearance
:
appearance
),
range
:
rangeSecondText
)
attributedString
.
addAttribute
(
.
font
,
value
:
typeface
.
mediumFont
(
size
:
13.0
),
range
:
rangeSecondText
)
label
.
attributedText
=
attributedString
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment