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:30:26 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
72f7ed489d69a0a8d831f30addd2f5f50a09c6eb
72f7ed48
1 parent
e80fa3fb
fix button paddings
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 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 @
72f7ed4
...
...
@@ -77,7 +77,7 @@ import SwiftEventBus
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
redeemButton
.
layer
.
cornerRadius
=
8.0
redeemButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
redeemButton
.
intrinsicContentSize
.
width
,
height
:
44
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
8
,
bottom
:
0
,
right
:
8
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
16
,
bottom
:
0
,
right
:
16
)
// Fix width for ipad
// if UIDevice.current.userInterfaceIdiom == .pad {
// // iPad
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
72f7ed4
...
...
@@ -125,7 +125,7 @@ import AVFoundation
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
redeemButton
.
layer
.
cornerRadius
=
8.0
redeemButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
redeemButton
.
intrinsicContentSize
.
width
,
height
:
44
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
8
,
bottom
:
0
,
right
:
8
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
16
,
bottom
:
0
,
right
:
16
)
// Fix width for ipad
// if UIDevice.current.userInterfaceIdiom == .pad {
// // iPad
...
...
@@ -141,7 +141,7 @@ import AVFoundation
mapButton
.
backgroundColor
=
UIColor
(
red
:
0.90
,
green
:
0.90
,
blue
:
0.90
,
alpha
:
1.00
)
mapButton
.
layer
.
cornerRadius
=
8.0
mapButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
mapButton
.
intrinsicContentSize
.
width
,
height
:
44
)
mapButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
8
,
bottom
:
0
,
right
:
8
)
mapButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
16
,
bottom
:
0
,
right
:
16
)
// Fix width for ipad
// if UIDevice.current.userInterfaceIdiom == .pad {
// // iPad
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
72f7ed4
...
...
@@ -83,7 +83,7 @@ import SwiftEventBus
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
redeemButton
.
layer
.
cornerRadius
=
8.0
redeemButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
redeemButton
.
intrinsicContentSize
.
width
,
height
:
44
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
8
,
bottom
:
0
,
right
:
8
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
16
,
bottom
:
0
,
right
:
16
)
// Fix width for ipad
if
UIDevice
.
current
.
userInterfaceIdiom
==
.
pad
{
// iPad
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
72f7ed4
...
...
@@ -104,7 +104,7 @@ import SwiftEventBus
redeemButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
redeemButton
.
layer
.
cornerRadius
=
8.0
redeemButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
redeemButton
.
intrinsicContentSize
.
width
,
height
:
44
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
8
,
bottom
:
0
,
right
:
8
)
redeemButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
16
,
bottom
:
0
,
right
:
16
)
// Fix width for ipad
// if UIDevice.current.userInterfaceIdiom == .pad {
// // iPad
...
...
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
View file @
72f7ed4
...
...
@@ -97,7 +97,7 @@ import SwiftEventBus
activateButton
.
backgroundColor
=
UIColor
(
red
:
0.47
,
green
:
0.75
,
blue
:
0.08
,
alpha
:
1.00
)
activateButton
.
layer
.
cornerRadius
=
8.0
activateButton
.
frame
=
CGRect
(
x
:
0.0
,
y
:
0.0
,
width
:
activateButton
.
intrinsicContentSize
.
width
,
height
:
44
)
activateButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
8
,
bottom
:
0
,
right
:
8
)
activateButton
.
contentEdgeInsets
=
UIEdgeInsets
(
top
:
0
,
left
:
16
,
bottom
:
0
,
right
:
16
)
// Fix width for ipad
// if UIDevice.current.userInterfaceIdiom == .pad {
...
...
Please
register
or
login
to post a comment