     }
     
     private func setupBottomBar() {
-        
         guard let bottomBar = bottomBar,
             environment.session.currentUser == nil else { return }
         view.addSubview(bottomBar)

            make.top.equalTo(segmentedControl.snp.bottom).offset(StandardVerticalMargin)
            make.bottom.equalTo(view).offset(bottomSpace)
        }
        
    }
    
}

            make.bottom.equalTo(view)
        }
        bottomBar.bringSubview(toFront: view)
    }
    
    private func setupConstraints() {
        segmentedControl.snp.makeConstraints { make in
            make.height.equalTo(segmentControlHeight)
            make.leading.equalTo(view).offset(StandardHorizontalMargin)
