Browse Source

fix merge

pull/1/head
InKwon James Kim 5 years ago
parent
commit
c3b2da3aa6
  1. 8
      GMERemittance/Module/Home/User Interface/View/HomeViewController.swift

8
GMERemittance/Module/Home/User Interface/View/HomeViewController.swift

@ -73,6 +73,7 @@ class HomeViewController: UIViewController, UICollectionViewDelegateFlowLayout {
self.tableView.reloadData()
updateBalance()
self.update()
checkKFTCToken()
}
}
var sections: [Sections] = [.balance, .collection]
@ -814,16 +815,15 @@ extension HomeViewController {
settings.userId = UserDefaults.standard.string(forKey: UserKeys.email)
let profile = Profile()
guard let username = UserDefaults.standard.string(forKey: UserKeys.fullName) else {
return
guard let username = UserDefaults.standard.string(forKey: UserKeys.fullName) else {
guard let username = UserDefaults.standard.string(forKey: UserKeys.fullName) else { return }
profile.set(name: username)
ChannelIO.delegate = self
ChannelIO.boot(with:settings, profile: profile) {(_, _) in
ChannelIO.open(animated: true)
// For push notification of ChannelIO
// ChannelIO.track(eventName:"HomeVisit")
// ChannelIO.track(eventName:"HomeVisit")
}
}
}

Loading…
Cancel
Save