- 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:
2024-09-03 20:20:17 +05:30
parent d66df15fbb
commit d136a59680
28 changed files with 406 additions and 240 deletions

View File

@@ -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() {