This commit is contained in:
Aiden Vigue 2021-06-23 13:08:02 -04:00
parent 1f0cefba0d
commit e09c6d1da4
No known key found for this signature in database
GPG Key ID: B9A09843AB079D5B
2 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ struct SearchBar: View {
var body: some View {
HStack {
TextField("Search ...", text: $text)
TextField("Search...", text: $text)
.padding(7)
.padding(.horizontal, 16)
.background(Color(.systemGray6))

View File

@ -280,6 +280,10 @@ class PlayerViewController: UIViewController, GCKDiscoveryManagerListener, GCKRe
override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return .landscape
}
override var shouldAutorotate: Bool {
return false
}
func setupNowPlayingCC() {
let commandCenter = MPRemoteCommandCenter.shared()
@ -370,10 +374,6 @@ class PlayerViewController: UIViewController, GCKDiscoveryManagerListener, GCKRe
UIApplication.shared.beginReceivingRemoteControlEvents()
}
override func remoteControlReceived(with event: UIEvent?) {
dump(event)
}
// MARK: viewDidLoad
override func viewDidLoad() {
if manifest.type == "Movie" {