Improve some providers UI on macOS
- Bigger profile modal - Add star header to favorites column - Tile favorites checkbox and clear filters
This commit is contained in:
parent
6d915f8985
commit
b36189c5c9
|
@ -40,12 +40,13 @@ struct VPNFiltersView: View {
|
|||
categoryPicker
|
||||
countryPicker
|
||||
presetPicker
|
||||
favoritesToggle
|
||||
#if os(iOS)
|
||||
favoritesToggle
|
||||
clearFiltersButton
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
#else
|
||||
HStack {
|
||||
favoritesToggle
|
||||
Spacer()
|
||||
clearFiltersButton
|
||||
}
|
||||
|
|
|
@ -79,13 +79,13 @@ extension VPNProviderServerView {
|
|||
|
||||
TableColumn(Strings.Global.address, value: \.address)
|
||||
|
||||
TableColumn("") { server in
|
||||
TableColumn("") { server in
|
||||
FavoriteToggle(
|
||||
value: server.serverId,
|
||||
selection: $favoritesManager.serverIds
|
||||
)
|
||||
}
|
||||
.width(20.0)
|
||||
.width(15.0)
|
||||
|
||||
TableColumn("") { server in
|
||||
Button {
|
||||
|
|
|
@ -30,7 +30,7 @@ import SwiftUI
|
|||
extension Theme {
|
||||
public convenience init() {
|
||||
self.init(dummy: Void())
|
||||
rootModalSize = CGSize(width: 700, height: 400)
|
||||
rootModalSize = CGSize(width: 750, height: 500)
|
||||
secondaryModalSize = CGSize(width: 500.0, height: 200.0)
|
||||
animationCategories = [.diagnostics, .profiles, .providers]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue