Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Carola
vlc-ios
Commits
6dc6a0e3
Commit
6dc6a0e3
authored
Jan 23, 2018
by
Carola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLCAppDelegate: wrap appearance changes in available ios11 block
parent
88d1ca05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Sources/VLCAppDelegate.m
Sources/VLCAppDelegate.m
+4
-2
No files found.
Sources/VLCAppDelegate.m
View file @
6dc6a0e3
...
...
@@ -208,8 +208,10 @@ NSString *const VLCDropboxSessionWasAuthorized = @"VLCDropboxSessionWasAuthorize
[[
UINavigationBar
appearanceWhenContainedInInstancesOfClasses
:@[[
VLCPlaybackNavigationController
class
]]]
setBarTintColor
:
nil
];
[[
UINavigationBar
appearance
]
setTintColor
:[
UIColor
whiteColor
]];
[[
UINavigationBar
appearance
]
setTitleTextAttributes
:
@{
NSForegroundColorAttributeName
:
[
UIColor
whiteColor
]
}];
[[
UINavigationBar
appearance
]
setPrefersLargeTitles
:
@YES
];
[[
UINavigationBar
appearanceWhenContainedInInstancesOfClasses
:@[[
VLCPlaybackNavigationController
class
]]]
setPrefersLargeTitles
:
@NO
];
if
(
@available
(
iOS
11
.
0
,
*
))
{
[[
UINavigationBar
appearance
]
setPrefersLargeTitles
:
@YES
];
[[
UINavigationBar
appearanceWhenContainedInInstancesOfClasses
:@[[
VLCPlaybackNavigationController
class
]]]
setPrefersLargeTitles
:
@NO
];
}
// For the edit selection indicators
[[
UITabBar
appearance
]
setTintColor
:
vlcOrange
];
[[
UITableView
appearance
]
setTintColor
:
vlcOrange
];
...
...
Write
Preview
Markdown
is supported
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