- 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

@@ -14,7 +14,7 @@ class SplashVM{
weak var vc : SplashVC!
var player: AVAudioPlayer?
func initView(){
if AuthFunc.shareInstance.staticURLs == nil{
AuthFunc.shareInstance.getStaticURLs()
@@ -67,7 +67,17 @@ class SplashVM{
if AuthFunc.shareInstance.getUserType() == 3{
//setusertype
AuthFunc.shareInstance.userData = UserDataDM.ResultData(id: nil, genderData: nil, birthdate: nil, email: nil, avtar: nil, avtarURL: nil, userType: "3", languageMasterID: nil, lastLogin: nil, rememberToken: nil, childDetail: nil, language: nil, alreadyLoggedIn: nil, isDeactive: nil)
UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
if AuthFunc.shareInstance.staticURLs == nil{
AuthFunc.shareInstance.getStaticURLs { isDone in
if isDone == true{
UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
}else{
self.vc.retryBtn.isHidden = false
}
}
}else{
UIApplication.setRootView(SideMenuController.instantiate(from: .Home))
}
return
}