away button placement

This commit is contained in:
Ian Gulliver
2026-10-20 10:00:43 -07:00
parent 68e4a87bee
commit 1d53304e27
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -482,6 +482,12 @@ struct ServerWindow: View {
ServerPicker()
}
.sharedBackgroundVisibility(.hidden)
ToolbarItem(placement: .primaryAction) {
AwayToggle()
.font(Fonts.font(13))
.fixedSize()
}
.sharedBackgroundVisibility(.hidden)
}
.toolbar(removing: .title)
.toolbarBackgroundVisibility(.visible, for: .windowToolbar)
@@ -532,7 +538,6 @@ struct ServerPicker: View {
.padding(.horizontal, 8)
.padding(.vertical, 3)
.help("Add Server")
AwayToggle()
}
.font(Fonts.font(13))
.fixedSize()