- Tc 55 fixed
- Fixed an issue where the guest user was going to Home Screen when not connected to network. - Also now if the user is guest, we will check if the live stream urls are fetched or not - TC 57,58, 56 - TC 50 - Added hindi language to shop and cart and remove alert
This commit is contained in:
@@ -63,7 +63,25 @@ class SplashVC: UIViewController {
|
||||
}
|
||||
|
||||
@IBAction func retryBtnTapped(_ sender: UIButton) {
|
||||
vm.getUserData()
|
||||
if AuthFunc.shareInstance.getUserType() == 3{
|
||||
vm.startStopIndicator(start: true)
|
||||
if AuthFunc.shareInstance.staticURLs == nil{
|
||||
AuthFunc.shareInstance.getStaticURLs { [weak self] isDone in
|
||||
guard let self else{return}
|
||||
vm.startStopIndicator(start: false)
|
||||
if isDone == true{
|
||||
UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
|
||||
}else{
|
||||
self.retryBtn.isHidden = false
|
||||
}
|
||||
}
|
||||
}else{
|
||||
vm.startStopIndicator(start: false)
|
||||
UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
|
||||
}
|
||||
}else{
|
||||
vm.getUserData()
|
||||
}
|
||||
}
|
||||
|
||||
func animateImageScale() {
|
||||
|
||||
Reference in New Issue
Block a user