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
2023-05-04 12:33:39 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
53fbf3be36016f1d5c49418758287c15f8d54b9a
53fbf3be
1 parent
531bd00b
GFY, WalletVC ui fixes redesign
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
3 deletions
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
53fbf3b
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
53fbf3b
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
53fbf3b
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/GiftsViewController.swift
View file @
53fbf3b
...
...
@@ -63,7 +63,7 @@ import SwiftEventBus
// tableView.clipsToBounds = true
// tableView.layer.cornerRadius = 30
// tableView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
tableView
.
contentInset
.
top
=
50
tableView
.
contentInset
.
top
=
25
// Add Top left corner radius
// mainView.clipsToBounds = true
...
...
SwiftWarplyFramework/SwiftWarplyFramework/Main.storyboard
View file @
53fbf3b
This diff is collapsed. Click to expand it.
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
53fbf3b
...
...
@@ -225,6 +225,13 @@ import SwiftEventBus
dfyEarnAmountLabel
.
text
=
totalCouponValueString
+
"€"
// dfyEarnAmountLabel.font = UIFont(name: "PeridotPE-Bold", size: 14)
let
totalCouponValueIntCount
=
String
(
Int
(
totalCouponValue
))
.
count
if
(
totalCouponValueIntCount
>=
3
)
{
dfyEarnAmountLabel
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
11
)
}
else
{
dfyEarnAmountLabel
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
13
)
}
if
(
loyaltyBadge
.
_couponCount
==
0
)
{
couponEarnView
.
isHidden
=
true
couponEarnViewHeight
.
constant
=
0
...
...
@@ -277,6 +284,13 @@ import SwiftEventBus
couponEarnAmountLabel
.
text
=
totalCouponDiscountString
+
"€"
let
totalCouponDiscountIntCount
=
String
(
Int
(
totalCouponDiscount
))
.
count
if
(
totalCouponDiscountIntCount
>=
3
)
{
couponEarnAmountLabel
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
11
)
}
else
{
couponEarnAmountLabel
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
13
)
}
print
(
"Loyalty Badge Value: "
+
totalCouponDiscountString
)
print
(
"Loyalty Badge Count: "
+
String
(
loyaltyBadge
.
_couponCount
))
...
...
Please
register
or
login
to post a comment