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-17 15:59:28 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf8453d700d02d973b4ffd8abef066c638e652ac
cf8453d7
1 parent
72f7ed48
fix button title font size
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
View file @
cf8453d
...
...
@@ -71,7 +71,7 @@ import SwiftEventBus
nameLabel
.
text
=
ccms
?
.
_title
??
""
descriptionLabel
.
text
=
ccms
?
.
_subtitle
??
""
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
redeemButton
.
setTitle
(
"Ενεργοποίηση"
,
for
:
.
normal
)
redeemButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
cf8453d
...
...
@@ -119,7 +119,7 @@ import AVFoundation
expirationLabel
.
text
=
"Το κουπόνι ισχύει έως "
+
(
coupon
?
.
expiration
??
""
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
redeemButton
.
setTitle
(
"Κάνε δώρο"
,
for
:
.
normal
)
redeemButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
...
...
@@ -135,7 +135,7 @@ import AVFoundation
// redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
// }
mapButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
mapButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
mapButton
.
setTitle
(
"Δες τα καταστήματα"
,
for
:
.
normal
)
mapButton
.
setTitleColor
(
UIColor
(
red
:
0.31
,
green
:
0.62
,
blue
:
0.18
,
alpha
:
1.00
),
for
:
.
normal
)
mapButton
.
backgroundColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
cf8453d
...
...
@@ -87,11 +87,11 @@ import SwiftEventBus
// Fix width for ipad
if
UIDevice
.
current
.
userInterfaceIdiom
==
.
pad
{
// iPad
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
19
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
20
)
// redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
}
else
{
// not iPad (iPhone, mac, tv, carPlay, unspecified)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
// redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
cf8453d
...
...
@@ -98,7 +98,7 @@ import SwiftEventBus
numberTextField
.
keyboardType
=
.
asciiCapableNumberPad
numberTextField
.
addDoneButtonOnKeyboard
()
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
redeemButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
redeemButton
.
setTitle
(
"Αποστολή με SMS"
,
for
:
.
normal
)
redeemButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
...
...
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
View file @
cf8453d
...
...
@@ -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
:
"PFSquareSansPro-Medium"
,
size
:
1
6
)
activateButton
.
titleLabel
?
.
font
=
UIFont
(
name
:
"PFSquareSansPro-Medium"
,
size
:
1
8
)
activateButton
.
setTitle
(
"Ενεργοποίηση"
,
for
:
.
normal
)
activateButton
.
setTitleColor
(
.
white
,
for
:
.
normal
)
activateButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
...
...
Please
register
or
login
to post a comment