update on tvOS
This commit is contained in:
parent
53048d7d14
commit
16a89b574a
|
@ -1,5 +1,4 @@
|
|||
// swiftlint:disable all
|
||||
// swiftformat:disable all
|
||||
// Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen
|
||||
|
||||
import Foundation
|
||||
|
|
|
@ -24,6 +24,8 @@ struct CinematicItemViewTopRow: View {
|
|||
var title: String
|
||||
@State
|
||||
var subtitle: String?
|
||||
@State
|
||||
private var playButtonText: String = ""
|
||||
let showDetails: Bool
|
||||
|
||||
init(viewModel: ItemViewModel,
|
||||
|
@ -67,7 +69,7 @@ struct CinematicItemViewTopRow: View {
|
|||
Image(systemName: "play.fill")
|
||||
.foregroundColor(viewModel.playButtonItem == nil ? Color(UIColor.secondaryLabel) : Color.black)
|
||||
.font(.title3)
|
||||
Text(viewModel.playButtonText())
|
||||
Text(playButtonText)
|
||||
.foregroundColor(viewModel.playButtonItem == nil ? Color(UIColor.secondaryLabel) : Color.black)
|
||||
.fontWeight(.semibold)
|
||||
}
|
||||
|
@ -134,6 +136,12 @@ struct CinematicItemViewTopRow: View {
|
|||
.padding(.bottom, 50)
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
playButtonText = viewModel.playButtonText()
|
||||
}
|
||||
.onChange(of: viewModel.item, perform: { newValue in
|
||||
playButtonText = viewModel.playButtonText()
|
||||
})
|
||||
.onChange(of: envFocused) { envFocus in
|
||||
if envFocus == true {
|
||||
wrappedScrollView?.scrollToTop()
|
||||
|
|
|
@ -2773,7 +2773,7 @@
|
|||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 66;
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
DEVELOPMENT_TEAM = TY84JMYEFE;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_BITCODE = NO;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
EXCLUDED_ARCHS = "";
|
||||
|
@ -2810,7 +2810,7 @@
|
|||
CURRENT_PROJECT_VERSION = 66;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_ASSET_PATHS = "";
|
||||
DEVELOPMENT_TEAM = TY84JMYEFE;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
ENABLE_BITCODE = NO;
|
||||
ENABLE_PREVIEWS = YES;
|
||||
EXCLUDED_ARCHS = "";
|
||||
|
@ -2841,7 +2841,7 @@
|
|||
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 66;
|
||||
DEVELOPMENT_TEAM = TY84JMYEFE;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
INFOPLIST_FILE = WidgetExtension/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
|
@ -2868,7 +2868,7 @@
|
|||
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 66;
|
||||
DEVELOPMENT_TEAM = TY84JMYEFE;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
INFOPLIST_FILE = WidgetExtension/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
|
|
Loading…
Reference in New Issue