idk
This commit is contained in:
parent
1f0cefba0d
commit
e09c6d1da4
|
@ -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))
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue