Skip to content

Commit

Permalink
fix: update previousTrafficLightButtonsPosition on ok
Browse files Browse the repository at this point in the history
Dropped from ejbills#267
  • Loading branch information
ShlomoCode committed Aug 25, 2024
1 parent b5e77de commit 75510e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DockDoor/Views/Settings/AppearanceSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ struct AppearanceSettingsView: View {
completion: { result in
if result == .cancel {
trafficLightButtonsPosition = previousTrafficLightButtonsPosition
} else {
previousTrafficLightButtonsPosition = newValue
}
}
)
Expand Down Expand Up @@ -131,6 +133,8 @@ struct AppearanceSettingsView: View {
completion: { result in
if result == .cancel {
windowTitlePosition = previousWindowTitlePosition
} else {
previousWindowTitlePosition = newValue
}
}
)
Expand Down

0 comments on commit 75510e0

Please sign in to comment.