diff --git a/Shared/Settings/SettingsView.swift b/Shared/Settings/SettingsView.swift index ef9d66ef..d8d87ce4 100644 --- a/Shared/Settings/SettingsView.swift +++ b/Shared/Settings/SettingsView.swift @@ -161,7 +161,7 @@ struct SettingsView: View { } } - Section { + Section(footer: helpFooter) { NavigationLink { Help() } label: { @@ -233,6 +233,14 @@ struct SettingsView: View { } #endif + var helpFooter: some View { + #if os(tvOS) + versionString + #else + EmptyView() + #endif + } + private var versionString: some View { Text("Yattee \(YatteeApp.version) (build \(YatteeApp.build))") #if os(tvOS)