Override tint color in document browser
Buttons were invisible in light mode. Fixes #145
This commit is contained in:
parent
030385a8f4
commit
34bcd22893
|
@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## 1.11.4 Beta 2355 (2020-05-23)
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- Customize host endpoint.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Invisible buttons in document browser. [#145](https://github.com/passepartoutvpn/passepartout-ios/issues/145)
|
||||
|
||||
## 1.11.3 (2020-05-21)
|
||||
|
||||
### Added
|
||||
|
|
|
@ -94,6 +94,9 @@ extension Theme {
|
|||
bar.titleTextAttributes = [NSAttributedString.Key.foregroundColor: palette.primaryLightText]
|
||||
bar.largeTitleTextAttributes = bar.titleTextAttributes
|
||||
|
||||
let pickerBar = UINavigationBar.appearance(whenContainedInInstancesOf: [UIDocumentBrowserViewController.self])
|
||||
pickerBar.tintColor = nil
|
||||
|
||||
let toolbar = UIToolbar.appearance()
|
||||
toolbar.barTintColor = palette.primaryBackground
|
||||
toolbar.tintColor = palette.primaryLightText
|
||||
|
|
Loading…
Reference in New Issue