         setNeedsNavigationBackground(alpha: alpha)
         let color = viewControllers.first?.navBarBGColor ?? .white
         lo_bg?.update(color: color.withAlphaComponent(alpha), drag: lo_poping)
-        navigationBar.tintColor = viewControllers.first?.navBarTintColor
+        navigationBar.tintColor = viewControllers.first?.navBarTintColor ?? globalNavBarTintColor
         return et_popToRootViewControllerAnimated(animated)
     }
     

        enableShadow(enable: toViewController?.navBarBgShadow ?? false)
        
        // Tint Color
        let fromColor = fromViewController?.navBarTintColor ?? .blue
        let toColor = toViewController?.navBarTintColor ?? .blue
        let newColor = averageColor(fromColor: fromColor, toColor: toColor, percent: percentComplete)
        navigationBar.tintColor = newColor
        let midColor = averageColor(fromColor: (fromViewController?.navBarBGColor ?? .white), toColor: (toViewController?.navBarBGColor ?? .white), percent: percentComplete)

        setNeedsNavigationBackground(alpha: topViewController?.navBarBgAlpha ?? 0)
        enableShadow(enable: topViewController?.navBarBgShadow ?? false)
        lo_bg?.update(color: (topViewController?.navBarBGColor ?? .white).withAlphaComponent(topViewController?.navBarBgAlpha ?? 1), drag: false)
        navigationBar.tintColor = topViewController?.navBarTintColor ?? globalNavBarTintColor
        return true
    }
    
