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
2022-07-05 14:58:31 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b7fedeed3e4a10393e3f2112ceb56a7fa5c6f96d
b7fedeed
1 parent
f8c0a0df
delete questionnaire campaign if userTag exists v2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
b7fedee
...
...
@@ -33,6 +33,10 @@ public class swiftApi {
public
func
setUserTag
(
_
newUserTag
:
String
)
->
Void
{
UserDefaults
.
standard
.
set
(
newUserTag
,
forKey
:
"userTag"
)
if
((
newUserTag
!=
nil
)
&&
(
newUserTag
!=
""
))
{
GlobalVariables
.
campaigns
=
GlobalVariables
.
campaigns
.
filter
{
$0
.
offer_category
!=
"questionnaire"
}
}
}
public
class
DFY
{
...
...
Please
register
or
login
to post a comment