mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 09:49:46 +00:00
Yattee v2 rewrite
This commit is contained in:
27
Yattee/Views/Settings/RemoteControlSettingsView.swift
Normal file
27
Yattee/Views/Settings/RemoteControlSettingsView.swift
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// RemoteControlSettingsView.swift
|
||||
// Yattee
|
||||
//
|
||||
// Settings for remote control configuration.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct RemoteControlSettingsView: View {
|
||||
var body: some View {
|
||||
RemoteControlContentView(navigationStyle: .link)
|
||||
.navigationTitle("Remote Control")
|
||||
#if os(iOS)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Preview
|
||||
|
||||
#Preview {
|
||||
NavigationStack {
|
||||
RemoteControlSettingsView()
|
||||
}
|
||||
.appEnvironment(.preview)
|
||||
}
|
||||
Reference in New Issue
Block a user