mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 10:25:02 +00:00
Disable settings in sidebar on macOS
This commit is contained in:
@@ -124,6 +124,12 @@ enum SidebarMainItem: String, CaseIterable, Codable, Identifiable, Sendable {
|
||||
#else
|
||||
return true
|
||||
#endif
|
||||
case .settings:
|
||||
#if os(macOS)
|
||||
return false
|
||||
#else
|
||||
return true
|
||||
#endif
|
||||
default:
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user