 }
 
 extension ManagerListLogViewController: UIScrollViewDelegate {
-    private func changeStateButtonScrollDown(show: Bool) {
+    fileprivate func changeStateButtonScrollDown(show: Bool) {
         if show {
             buttonScrollDown.isHidden = false
         }

        }, completion: nil)
    }

    private func isScrollable(scrollView: UIScrollView) -> Bool {
        let ratio = scrollView.contentSize.height - scrollView.contentOffset.y
        return !(ratio <= scrollView.frame.size.height)
    }


    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        let count = state == .logs ? dataSourceLogs.count : dataSourceNetwork.count
        if count > 0 {
            if firstLaunch {
                firstLaunch = false
                let lastPath = state == .logs ? dataSourceLogs.lastPath : dataSourceNetwork.lastPath
                tableview.scrollToRow(at: lastPath, at: .top, animated: false)
            } else {
                changeStateButtonScrollDown(show: isScrollable(scrollView: tableview))
            }
        }
        labelEmptyState.isHidden = count > 0
    }
