Skip to content

Commit

Permalink
[ci skip] Rename styles
Browse files Browse the repository at this point in the history
  • Loading branch information
keeshux committed Nov 26, 2024
1 parent 9b96d72 commit 83d7e76
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import SwiftUI

struct ProfileContextMenu: View, Routable {
enum Style {
case installed
case installedProfile

case container
case containerContext

case infoButton
}
Expand All @@ -54,11 +54,11 @@ struct ProfileContextMenu: View, Routable {
var body: some View {
tunnelToggleButton
providerConnectToButton
if style == .installed {
if style == .installedProfile {
tunnelRestartButton
}
profileEditButton
if [.installed, .container].contains(style) {
if [.installedProfile, .containerContext].contains(style) {
Divider()
profileDuplicateButton
profileRemoveButton
Expand Down

0 comments on commit 83d7e76

Please sign in to comment.