mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
ifdef for macos
This commit is contained in:
parent
3246bea4d8
commit
657ffbc0ce
1 changed files with 3 additions and 1 deletions
|
|
@ -196,6 +196,7 @@ public struct LabelsEntryView: View {
|
|||
.frame(height: totalHeight)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(Color.extensionPanelBackground)
|
||||
#if os(macOS)
|
||||
.onHover { isHovered in
|
||||
DispatchQueue.main.async {
|
||||
if isHovered {
|
||||
|
|
@ -205,7 +206,8 @@ public struct LabelsEntryView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
.cornerRadius(8)
|
||||
#endif
|
||||
.cornerRadius(8)
|
||||
.onAppear {
|
||||
textFieldFocused = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue