- My list Audio books on add remove fav, only calling audiobooks api and reloading in background
- My list Games on add remove fav, only calling Games api and reloading in background - My list Karaoke on add remove fav, only calling Karaoke api and reloading in background -Finalised clicks count for every module
This commit is contained in:
@@ -49,17 +49,26 @@ class OnBoardVC: UIViewController {
|
||||
super.viewWillDisappear(animated)
|
||||
navigationController?.setNavigationBarHidden(true, animated: animated)
|
||||
vm.stopBackGroundAnimationJSON()
|
||||
|
||||
if self.isMovingFromParent {
|
||||
// Back button was pressed
|
||||
PersistentStorage.shared.addOthersCount()
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Button Tap Handler
|
||||
|
||||
@IBAction func createAccountBtnTapped(_ sender: UIButton) {
|
||||
PersistentStorage.shared.addOthersCount()
|
||||
|
||||
let sb = UIStoryboard(name: K.StoryBoard.main, bundle: nil)
|
||||
let vc = sb.instantiateViewController(withIdentifier: K.StoryBoardID.OnBoarding.selectAgeVC) as! SelectAgeVC
|
||||
self.navigationController?.pushViewController(vc, animated: true)
|
||||
}
|
||||
|
||||
@IBAction func loginBtnTapped(_ sender: UIButton) {
|
||||
PersistentStorage.shared.addOthersCount()
|
||||
|
||||
let sb = UIStoryboard(name: K.StoryBoard.authenticationSB, bundle: nil)
|
||||
let vc = sb.instantiateViewController(withIdentifier: K.StoryBoardID.Authentication.loginVC) as! LoginVC
|
||||
self.navigationController?.pushViewController(vc, animated: true)
|
||||
@@ -67,6 +76,7 @@ class OnBoardVC: UIViewController {
|
||||
|
||||
|
||||
@IBAction func guestLoginBtnTapped(_ sender: UIButton) {
|
||||
PersistentStorage.shared.addOthersCount()
|
||||
vm.guestLogin()
|
||||
}
|
||||
|
||||
|
||||
@@ -42,10 +42,11 @@ class SelectAgeVC: UIViewController {
|
||||
override func viewWillDisappear(_ animated: Bool) {
|
||||
super.viewWillDisappear(animated)
|
||||
navigationController?.setNavigationBarHidden(true, animated: animated)
|
||||
|
||||
if self.isMovingFromParent {
|
||||
// Back button was pressed
|
||||
PersistentStorage.shared.addOthersCount()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// MARK: - Button Tap Handler
|
||||
|
||||
}
|
||||
|
||||
@@ -32,7 +32,8 @@ class SplashVC: UIViewController {
|
||||
}
|
||||
|
||||
@IBAction func languageBtnTapped(_ sender: UIButton) {
|
||||
|
||||
PersistentStorage.shared.addOthersCount()
|
||||
|
||||
switch sender{
|
||||
case hindiBtn:
|
||||
AuthFunc.shareInstance.languageSelected = .hindi
|
||||
|
||||
Reference in New Issue
Block a user