Skip to content

Commit

Permalink
Update EditServerUserAccessTagsView.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
LePips committed Jan 3, 2025
1 parent 141393d commit 6e0210b
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ struct EditServerUserAccessTagsView: View {

// MARK: - Dialog States

@State
private var isBlockedExpanded: Bool = true
@State
private var isPresentingDeleteConfirmation = false

Expand Down Expand Up @@ -180,10 +178,9 @@ struct EditServerUserAccessTagsView: View {
router.route(to: \.userAddAccessTag, viewModel)
}
} else {
DisclosureGroup(
L10n.blocked,
isExpanded: $isBlockedExpanded
) {

// TODO: with allowed, use `DisclosureGroup` instead
Section(L10n.blocked) {
ForEach(
blockedTags,
id: \.self,
Expand Down

0 comments on commit 6e0210b

Please sign in to comment.