diff --git a/Multiplatform/Shared/Sidebar/SidebarExpandedContainers.swift b/Multiplatform/Shared/Sidebar/SidebarExpandedContainers.swift index 190135cde..ebccb6034 100644 --- a/Multiplatform/Shared/Sidebar/SidebarExpandedContainers.swift +++ b/Multiplatform/Shared/Sidebar/SidebarExpandedContainers.swift @@ -29,11 +29,7 @@ final class SidebarExpandedContainers: ObservableObject { subscript(_ containerID: ContainerIdentifier) -> Bool { get { - if expandedTable.contains(containerID) { - return true - } else { - return false - } + return expandedTable.contains(containerID) } set(newValue) { if newValue {