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-ios
Commits
c8226491
Commit
c8226491
authored
Mar 18, 2019
by
Jose Blaya
Browse files
Fix titleLabelView style in dark mode
parent
f756ed80
Changes
1
Hide whitespace changes
Inline
Side-by-side
PIA VPN/DashboardViewController.swift
View file @
c8226491
...
...
@@ -501,7 +501,9 @@ class DashboardViewController: AutolayoutViewController {
toggleConnection
.
startButtonAnimation
()
AppPreferences
.
shared
.
lastVPNConnectionStatus
=
.
connecting
let
titleLabelView
=
UILabel
(
frame
:
CGRect
.
zero
)
titleLabelView
.
style
(
style
:
TextStyle
.
textStyle7
)
titleLabelView
.
style
(
style
:
Theme
.
current
.
palette
.
appearance
==
.
dark
?
TextStyle
.
textStyle6
:
TextStyle
.
textStyle7
)
titleLabelView
.
text
=
L10n
.
Dashboard
.
Vpn
.
connecting
.
uppercased
()
Theme
.
current
.
applyCustomNavigationBar
(
navigationController
!.
navigationBar
,
withTintColor
:
nil
,
...
...
@@ -515,7 +517,9 @@ class DashboardViewController: AutolayoutViewController {
toggleConnection
.
startButtonAnimation
()
AppPreferences
.
shared
.
lastVPNConnectionStatus
=
.
disconnecting
let
titleLabelView
=
UILabel
(
frame
:
CGRect
.
zero
)
titleLabelView
.
style
(
style
:
TextStyle
.
textStyle7
)
titleLabelView
.
style
(
style
:
Theme
.
current
.
palette
.
appearance
==
.
dark
?
TextStyle
.
textStyle6
:
TextStyle
.
textStyle7
)
titleLabelView
.
text
=
L10n
.
Dashboard
.
Vpn
.
disconnecting
.
uppercased
()
Theme
.
current
.
applyCustomNavigationBar
(
navigationController
!.
navigationBar
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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