chore(macos): move Permissions tab after Tools
This commit is contained in:
@@ -32,13 +32,6 @@ struct SettingsRootView: View {
|
|||||||
.tabItem { Label("Instances", systemImage: "network") }
|
.tabItem { Label("Instances", systemImage: "network") }
|
||||||
.tag(SettingsTab.instances)
|
.tag(SettingsTab.instances)
|
||||||
|
|
||||||
PermissionsSettings(
|
|
||||||
status: self.permissionMonitor.status,
|
|
||||||
refresh: self.refreshPerms,
|
|
||||||
showOnboarding: { OnboardingController.shared.show() })
|
|
||||||
.tabItem { Label("Permissions", systemImage: "lock.shield") }
|
|
||||||
.tag(SettingsTab.permissions)
|
|
||||||
|
|
||||||
SessionsSettings()
|
SessionsSettings()
|
||||||
.tabItem { Label("Sessions", systemImage: "clock.arrow.circlepath") }
|
.tabItem { Label("Sessions", systemImage: "clock.arrow.circlepath") }
|
||||||
.tag(SettingsTab.sessions)
|
.tag(SettingsTab.sessions)
|
||||||
@@ -47,6 +40,13 @@ struct SettingsRootView: View {
|
|||||||
.tabItem { Label("Tools", systemImage: "wrench.and.screwdriver") }
|
.tabItem { Label("Tools", systemImage: "wrench.and.screwdriver") }
|
||||||
.tag(SettingsTab.tools)
|
.tag(SettingsTab.tools)
|
||||||
|
|
||||||
|
PermissionsSettings(
|
||||||
|
status: self.permissionMonitor.status,
|
||||||
|
refresh: self.refreshPerms,
|
||||||
|
showOnboarding: { OnboardingController.shared.show() })
|
||||||
|
.tabItem { Label("Permissions", systemImage: "lock.shield") }
|
||||||
|
.tag(SettingsTab.permissions)
|
||||||
|
|
||||||
if self.state.debugPaneEnabled {
|
if self.state.debugPaneEnabled {
|
||||||
DebugSettings()
|
DebugSettings()
|
||||||
.tabItem { Label("Debug", systemImage: "ant") }
|
.tabItem { Label("Debug", systemImage: "ant") }
|
||||||
|
|||||||
Reference in New Issue
Block a user