Manos Chorianopoulos

fix new badge v3

...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>1</integer> 10 + <integer>0</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> 7 <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
8 <dict> 8 <dict>
9 <key>orderHint</key> 9 <key>orderHint</key>
10 - <integer>0</integer> 10 + <integer>1</integer>
11 </dict> 11 </dict>
12 </dict> 12 </dict>
13 </dict> 13 </dict>
......
...@@ -47,8 +47,10 @@ import UIKit ...@@ -47,8 +47,10 @@ import UIKit
47 47
48 campaignTitleLabel.text = campaign.title ?? "" 48 campaignTitleLabel.text = campaign.title ?? ""
49 49
50 - if (campaign.is_new ?? false) { 50 + if (campaign.is_new == true) {
51 newBadgeImage.isHidden = false 51 newBadgeImage.isHidden = false
52 + } else{
53 + newBadgeImage.isHidden = true
52 } 54 }
53 } 55 }
54 56
......