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
|
#else
|
||||||
return true
|
return true
|
||||||
#endif
|
#endif
|
||||||
|
case .settings:
|
||||||
|
#if os(macOS)
|
||||||
|
return false
|
||||||
|
#else
|
||||||
|
return true
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user