- Worked on my list and notification bottom Banner

- Tc - 69 fixed
- Tc - 70 fixed
- TC 71 fixed
- Added local ads to fm and more section
- Added local ads to mylist
- Fixed a bug for sync
* Fixed the crashing by temporary updating the wokastaging with raw data
This commit is contained in:
2024-10-01 19:57:04 +05:30
parent fedcf71ada
commit 7efcbb2d24
24 changed files with 749 additions and 418 deletions

View File

@@ -117,10 +117,10 @@ class SideMenuVC: UIViewController {
/*
Make sure all data is synced to the server for click data & ad impressions
*/
vm.checkData()
PersistentStorage.shared.sendAdsData(isLogout: true)
PersistentStorage.shared.sendDataToServer(isLogout: true)
Utilities.startProgressHUD(msg: "Syncing...")
vm.checkData()
// self.timer.
case .no:

View File

@@ -73,7 +73,8 @@ class TabBarVC: UITabBarController {
vcPush.contentLabel = "By clicking the button below, your account will be deactivated. Your data will be erased after one month."
vcPush.yesBtnText = "Deactivate"
vcPush.noBtnText = "Cancel"
vcPush.onDoneBlock = { [unowned self] mode in
vcPush.onDoneBlock = { [weak self] mode in
guard let self else{return}
switch mode{
case .yes:
//If user clicked nav him to login screen. Call the api.
@@ -229,7 +230,8 @@ class TabBarVC: UITabBarController {
self.customTabBarView.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
self.customTabBarView.layer.masksToBounds = false
self.customTabBarView.layer.shadowColor = UIColor.red.withAlphaComponent(0.8).cgColor
// self.customTabBarView.layer.shadowColor = UIColor.red.withAlphaComponent(0.8).cgColor
self.customTabBarView.layer.shadowColor = UIColor.gray.withAlphaComponent(0.7).cgColor
self.customTabBarView.layer.shadowOffset = CGSize(width: -4, height: -6)
self.customTabBarView.layer.shadowOpacity = 0.5
self.customTabBarView.layer.shadowRadius = 20