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-10-03 10:17:50 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e6709e30f5a319534e4df8199565ad7936fe8796
e6709e30
1 parent
75f28263
remove questionnaire campaign
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
e6709e3
...
...
@@ -1156,9 +1156,9 @@ public class swiftApi {
return
(
!
(
isCcmsOffer
||
isTelco
))
}
if
(
swiftApi
()
.
getConsumerInternal
()?
.
_answered
==
true
)
{
//
if (swiftApi().getConsumerInternal()?._answered == true) {
filteredCampaigns
=
filteredCampaigns
.
filter
{
$0
.
offer_category
!=
"questionnaire"
}
}
//
}
let
sortedCampaigns
=
filteredCampaigns
.
sorted
{
(
$0
.
_sorting
??
0
)
<
(
$1
.
_sorting
??
0
)
...
...
@@ -3805,9 +3805,9 @@ public class swiftApi {
return
(
!
(
isCcmsOffer
||
isTelco
))
}
if
(
swiftApi
()
.
getConsumerInternal
()?
.
_answered
==
true
)
{
//
if (swiftApi().getConsumerInternal()?._answered == true) {
filteredCampaigns
=
filteredCampaigns
.
filter
{
$0
.
offer_category
!=
"questionnaire"
}
}
//
}
return
filteredCampaigns
}
...
...
Please
register
or
login
to post a comment