- 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:
2024-08-12 19:58:58 +05:30
parent 3eccad3149
commit d17fe416ae
69 changed files with 708 additions and 137 deletions

View File

@@ -38,6 +38,10 @@ class AddNewAddressVC: UIViewController {
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
self.navigationController?.setNavigationBarHidden(true, animated: animated)
if self.isMovingFromParent {
// Back button was pressed
PersistentStorage.shared.addOthersCount()
}
}
override func viewDidDisappear(_ animated: Bool) {
@@ -47,7 +51,8 @@ class AddNewAddressVC: UIViewController {
self.navigationController?.setColor(color: .black)
}
@IBAction func submitBtnTapped(_ sender: LocalisedElementsButton) {
PersistentStorage.shared.addShopCount(postID: 0)
if enterAddressNAmeTF.text!.count < 2 {
Utilities.alertWithBtn(title: "", msgBody: "Name should be minimum 2 Characters.", okBtnStr: "OK", vc: self)
return