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-06 13:00:16 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c02814b72dbd4729996fc643f5ac40dbf3073f58
c02814b7
1 parent
26b9b8d5
revert deleting questionnaire campaign
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
c02814b
...
...
@@ -33,10 +33,6 @@ 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
{
...
...
@@ -2041,11 +2037,7 @@ public class swiftApi {
}
}
if
((
userTag
!=
nil
)
&&
(
userTag
!=
""
))
{
GlobalVariables
.
campaigns
=
campaignsArray
.
filter
{
$0
.
offer_category
!=
"questionnaire"
}
}
else
{
GlobalVariables
.
campaigns
=
campaignsArray
}
GlobalVariables
.
campaigns
=
campaignsArray
}
...
...
@@ -2185,11 +2177,7 @@ public class swiftApi {
}
}
if
((
userTag
!=
nil
)
&&
(
userTag
!=
""
))
{
GlobalVariables
.
campaigns
=
campaignsArray
.
filter
{
$0
.
offer_category
!=
"questionnaire"
}
}
else
{
GlobalVariables
.
campaigns
=
campaignsArray
}
GlobalVariables
.
campaigns
=
campaignsArray
}
...
...
Please
register
or
login
to post a comment