Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2024-01-22 11:51:55 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ae6c233435a925af170e6b91f78ae5fd263073a
6ae6c233
1 parent
3ad7fb25
Add refresh_vouchers event
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
View file @
6ae6c23
...
...
@@ -671,6 +671,8 @@ var timer2: DispatchSourceTimer?
}
else
if
(
eventArray
[
1
]
==
"loyaltyWallet"
)
{
// event:loyaltyWallet
SwiftEventBus
.
post
(
"refresh_vouchers"
)
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"WalletViewController"
)
as!
SwiftWarplyFramework
.
WalletViewController
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
...
...
Please
register
or
login
to post a comment