Showing
1 changed file
with
6 additions
and
0 deletions
... | @@ -668,6 +668,12 @@ var timer2: DispatchSourceTimer? | ... | @@ -668,6 +668,12 @@ var timer2: DispatchSourceTimer? |
668 | if (access_token != "" && refresh_token != "") { | 668 | if (access_token != "" && refresh_token != "") { |
669 | swiftApi().updateRefreshToken(access_token: access_token, refresh_token: refresh_token) | 669 | swiftApi().updateRefreshToken(access_token: access_token, refresh_token: refresh_token) |
670 | } | 670 | } |
671 | + | ||
672 | + } else if (eventArray[1] == "loyaltyWallet") { | ||
673 | + // event:loyaltyWallet | ||
674 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | ||
675 | + let vc = storyboard.instantiateViewController(withIdentifier: "WalletViewController") as! SwiftWarplyFramework.WalletViewController | ||
676 | + self.navigationController?.pushViewController(vc, animated: true) | ||
671 | } | 677 | } |
672 | 678 | ||
673 | } | 679 | } | ... | ... |
-
Please register or login to post a comment