mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 18:35:05 +00:00
Move Integrations into main settings section above Advanced
Drop the standalone iOS section for Integrations and inline its row into the main list right above Advanced Settings. Swap the tvOS sidebar order so Integrations appears before Advanced as well. macOS was already correctly ordered via SettingsSection enum declaration.
This commit is contained in:
@@ -161,16 +161,16 @@ struct SettingsView: View {
|
||||
Label(String(localized: "settings.privacy.title"), systemImage: "hand.raised")
|
||||
}
|
||||
|
||||
NavigationLink { TVSidebarDetailContainer(systemImage: "gearshape.2", title: String(localized: "settings.advanced.title")) { AdvancedSettingsView() } } label: {
|
||||
Label(String(localized: "settings.advanced.title"), systemImage: "gearshape.2")
|
||||
}
|
||||
|
||||
if appEnvironment.instancesManager.enabledInstances.contains(where: \.isYouTubeInstance) {
|
||||
NavigationLink { TVSidebarDetailContainer(systemImage: "puzzlepiece.extension", title: String(localized: "settings.youtubeEnhancements.title")) { YouTubeEnhancementsSettingsView() } } label: {
|
||||
Label(String(localized: "settings.youtubeEnhancements.title"), systemImage: "puzzlepiece.extension")
|
||||
}
|
||||
}
|
||||
|
||||
NavigationLink { TVSidebarDetailContainer(systemImage: "gearshape.2", title: String(localized: "settings.advanced.title")) { AdvancedSettingsView() } } label: {
|
||||
Label(String(localized: "settings.advanced.title"), systemImage: "gearshape.2")
|
||||
}
|
||||
|
||||
NavigationLink { TVSidebarDetailContainer(systemImage: "info.circle", title: String(localized: "settings.about.title")) { AboutView() } } label: {
|
||||
Label(String(localized: "settings.about.title"), systemImage: "info.circle")
|
||||
}
|
||||
@@ -290,21 +290,19 @@ struct SettingsView: View {
|
||||
Label(String(localized: "settings.privacy.title"), systemImage: "hand.raised")
|
||||
}
|
||||
|
||||
NavigationLink {
|
||||
AdvancedSettingsView()
|
||||
} label: {
|
||||
Label(String(localized: "settings.advanced.title"), systemImage: "gearshape.2")
|
||||
}
|
||||
}
|
||||
|
||||
if appEnvironment.instancesManager.enabledInstances.contains(where: \.isYouTubeInstance) {
|
||||
Section {
|
||||
if appEnvironment.instancesManager.enabledInstances.contains(where: \.isYouTubeInstance) {
|
||||
NavigationLink {
|
||||
YouTubeEnhancementsSettingsView()
|
||||
} label: {
|
||||
Label(String(localized: "settings.youtubeEnhancements.title"), systemImage: "puzzlepiece.extension")
|
||||
}
|
||||
}
|
||||
|
||||
NavigationLink {
|
||||
AdvancedSettingsView()
|
||||
} label: {
|
||||
Label(String(localized: "settings.advanced.title"), systemImage: "gearshape.2")
|
||||
}
|
||||
}
|
||||
|
||||
Section {
|
||||
|
||||
Reference in New Issue
Block a user