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-04-25 15:16:21 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ddad4d6cd910aa4bdfb5f832128dc3e34d5f05b7
ddad4d6c
1 parent
e66fb80f
fix fonts
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyAnalysisViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
View file @
ddad4d6
...
...
@@ -71,7 +71,7 @@ import SwiftEventBus
nameLabel
.
text
=
ccms
?
.
_titleOffer
??
""
descriptionLabel
.
text
=
ccms
?
.
_description
??
""
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
17
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
17
)
redeemButton
.
setTitle
(
"Ενεργοποίηση"
,
for
:
.
normal
)
redeemButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
ddad4d6
...
...
@@ -198,7 +198,7 @@ import AVFoundation
expirationLabel
.
text
=
"Το κουπόνι ισχύει έως "
+
(
coupon
?
.
expiration
??
""
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
17
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
17
)
redeemButton
.
setTitle
(
"Δώρισέ το"
,
for
:
.
normal
)
redeemButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
ddad4d6
...
...
@@ -104,11 +104,11 @@ import SwiftEventBus
// Fix width for ipad
if
UIDevice
.
current
.
userInterfaceIdiom
==
.
pad
{
// iPad
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
19
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
19
)
// redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
}
else
{
// not iPad (iPhone, mac, tv, carPlay, unspecified)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
17
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
17
)
// redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/LoyaltyAnalysisViewController.swift
View file @
ddad4d6
...
...
@@ -36,7 +36,7 @@ import SwiftEventBus
leftButton
.
backgroundColor
=
.
clear
leftButton
.
setTitleColor
(
UIColor
(
rgb
:
0x212121
),
for
:
.
normal
)
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
15
)
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
15
)
rightButton
.
setTitle
(
"Μοιρασμένα δώρα"
,
for
:
.
normal
)
rightButton
.
backgroundColor
=
.
clear
rightButton
.
setTitleColor
(
UIColor
(
rgb
:
0x848484
),
for
:
.
normal
)
...
...
@@ -142,7 +142,7 @@ import SwiftEventBus
self
.
rightLineView
.
isHidden
=
true
self
.
leftButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
15
)
self
.
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
15
)
self
.
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
15
)
self
.
leftButton
.
setTitleColor
(
UIColor
(
rgb
:
0x212121
),
for
:
.
normal
)
self
.
rightButton
.
setTitleColor
(
UIColor
(
rgb
:
0x848484
),
for
:
.
normal
)
...
...
@@ -161,7 +161,7 @@ import SwiftEventBus
self
.
leftLineView
.
isHidden
=
true
self
.
rightLineView
.
isHidden
=
false
self
.
leftButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
15
)
self
.
leftButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
15
)
self
.
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
15
)
self
.
rightButton
.
setTitleColor
(
UIColor
(
rgb
:
0x212121
),
for
:
.
normal
)
...
...
@@ -217,7 +217,7 @@ extension LoyaltyAnalysisViewController: UIPageViewControllerDataSource, UIPageV
let
currentIndex
=
childVCs
[
0
]
.
index
if
(
currentIndex
==
0
)
{
self
.
leftButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
15
)
self
.
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
15
)
self
.
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
15
)
self
.
leftButton
.
setTitleColor
(
UIColor
(
rgb
:
0x212121
),
for
:
.
normal
)
self
.
rightButton
.
setTitleColor
(
UIColor
(
rgb
:
0x848484
),
for
:
.
normal
)
self
.
tabSelected
=
0
...
...
@@ -225,7 +225,7 @@ extension LoyaltyAnalysisViewController: UIPageViewControllerDataSource, UIPageV
self
.
rightLineView
.
isHidden
=
true
}
else
{
self
.
leftButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
15
)
self
.
leftButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
15
)
self
.
rightButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-Bold"
,
size
:
15
)
self
.
rightButton
.
setTitleColor
(
UIColor
(
rgb
:
0x212121
),
for
:
.
normal
)
self
.
leftButton
.
setTitleColor
(
UIColor
(
rgb
:
0x848484
),
for
:
.
normal
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
ddad4d6
...
...
@@ -99,7 +99,7 @@ import SwiftEventBus
numberTextField
.
keyboardType
=
.
asciiCapableNumberPad
numberTextField
.
addDoneButtonOnKeyboard
()
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
17
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
17
)
redeemButton
.
setTitle
(
"Αποστολή με SMS"
,
for
:
.
normal
)
redeemButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
View file @
ddad4d6
...
...
@@ -91,7 +91,7 @@ import SwiftEventBus
borderLineView
.
applyGradient
(
colours
:
[
UIColor
(
rgb
:
0x0AA3CD
),
UIColor
(
rgb
:
0x6ECA43
)],
gradient
:
GradientOrientation
.
horizontal
,
cornerRadius
:
0.0
)
activateButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-S
emi
Bold"
,
size
:
17
)
activateButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PeridotPE-SBold"
,
size
:
17
)
activateButton
.
setTitle
(
"Ενεργοποίηση"
,
for
:
.
normal
)
activateButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
activateButton
.
backgroundColor
=
UIColor
(
red
:
0.05
,
green
:
0.65
,
blue
:
0.00
,
alpha
:
1.00
)
...
...
Please
register
or
login
to post a comment