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-08-02 15:27:41 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
41b3efca42a84939aa53f1735e51ebeb614161e7
41b3efca
1 parent
40eed66f
fix campaign sorting
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 @
41b3efc
...
...
@@ -747,7 +747,7 @@ public class swiftApi {
}
let
sortedCampaigns
=
filteredCampaigns
.
sorted
{
$0
.
_sorting
<
$1
.
_sorting
(
$0
.
_sorting
??
0
)
<
(
$1
.
_sorting
??
0
)
}
getCampaignsCallback
(
sortedCampaigns
);
...
...
@@ -816,7 +816,7 @@ public class swiftApi {
}
let
sortedCampaigns
=
filteredCampaigns
.
sorted
{
$0
.
_sorting
<
$1
.
_sorting
(
$0
.
_sorting
??
0
)
<
(
$1
.
_sorting
??
0
)
}
getCampaignsCallback
(
sortedCampaigns
);
...
...
@@ -2770,7 +2770,7 @@ public class swiftApi {
// }
let
sortedCampaigns
=
campaigns
.
sorted
{
$0
.
_sorting
<
$1
.
_sorting
(
$0
.
_sorting
??
0
)
<
(
$1
.
_sorting
??
0
)
}
GlobalVariables
.
campaigns
=
sortedCampaigns
...
...
@@ -2914,7 +2914,7 @@ public class swiftApi {
// }
let
sortedCampaigns
=
campaigns
.
sorted
{
$0
.
_sorting
<
$1
.
_sorting
(
$0
.
_sorting
??
0
)
<
(
$1
.
_sorting
??
0
)
}
GlobalVariables
.
campaigns
=
sortedCampaigns
...
...
Please
register
or
login
to post a comment