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
2024-05-08 10:48:35 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bb02711bb423690cb3c7fbd2f02c73eb9b2ee339
bb02711b
1 parent
c5708407
fix coupon & telco offer image dimentions
Show whitespace changes
Inline
Side-by-side
Showing
6 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/UnifiedCouponBCHeaderTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/ContextualViewController.swift
View file @
bb02711
...
...
@@ -70,7 +70,7 @@ import SwiftEventBus
couponImage
.
load
(
link
:
ccms
?
.
_imageUrl
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
couponImage
.
contentMode
=
.
scaleAspectFill
couponImageHeight
.
constant
=
255
//230 // 253 // self.uiscreen.height * 0.25
couponImageHeight
.
constant
=
2
22
// 2
55 //230 // 253 // self.uiscreen.height * 0.25
nameLabel
.
text
=
ccms
?
.
_titleOffer
??
""
descriptionLabel
.
text
=
ccms
?
.
_description
??
""
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
bb02711
...
...
@@ -117,7 +117,7 @@ import AVFoundation
couponImage
.
load
(
link
:
couponSetData
?
.
img_preview
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
}
couponImageHeight
.
constant
=
255
//230 // 253 // self.uiscreen.height * 0.25
couponImageHeight
.
constant
=
2
22
// 2
55 //230 // 253 // self.uiscreen.height * 0.25
if
(
isMarket
==
true
)
{
couponImage
.
contentMode
=
.
scaleAspectFit
...
...
SwiftWarplyFramework/SwiftWarplyFramework/CouponViewController.swift
View file @
bb02711
...
...
@@ -77,7 +77,7 @@ import SwiftEventBus
couponImage
.
load
(
link
:
couponset
?
.
img_preview
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
couponImage
.
contentMode
=
.
scaleAspectFill
couponImageHeight
.
constant
=
255
//230 // 253 // self.uiscreen.height * 0.25
couponImageHeight
.
constant
=
2
22
// 2
55 //230 // 253 // self.uiscreen.height * 0.25
nameLabel
.
text
=
couponset
?
.
name
??
""
let
htmlDescrText
=
couponset
?
.
description
??
""
...
...
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
bb02711
...
...
@@ -81,7 +81,7 @@ import SwiftEventBus
couponImage
.
load
(
link
:
couponSetData
?
.
img_preview
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
couponImage
.
contentMode
=
.
scaleAspectFill
couponImageHeight
.
constant
=
255
//230 // 253 // self.uiscreen.height * 0.25
couponImageHeight
.
constant
=
2
22
// 2
55 //230 // 253 // self.uiscreen.height * 0.25
nameLabel
.
text
=
couponSetData
?
.
name
??
""
// descriptionLabel.text = couponSetData?.short_description ?? ""
...
...
SwiftWarplyFramework/SwiftWarplyFramework/TelcoViewController.swift
View file @
bb02711
...
...
@@ -77,7 +77,7 @@ import SwiftEventBus
heroImage
.
load
(
link
:
ccms
?
.
_imageOfferUrl
??
""
,
placeholder
:
UIImage
(),
cache
:
URLCache
())
heroImage
.
contentMode
=
.
scaleAspectFill
heroImageHeight
.
constant
=
255
//230 // 253 // self.uiscreen.height * 0.25
heroImageHeight
.
constant
=
2
22
// 2
55 //230 // 253 // self.uiscreen.height * 0.25
nameLabel
.
text
=
ccms
?
.
_description
??
""
// descriptionLabel.text = ccms?._subtitle ?? ""
...
...
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBCHeaderTableViewCell.swift
View file @
bb02711
...
...
@@ -52,7 +52,7 @@ import AVFoundation
// couponImage.load(link: couponSetData?.img_preview ?? "", placeholder: UIImage(), cache: URLCache())
couponImage
.
image
=
UIImage
(
named
:
"market_bg"
,
in
:
MyEmptyClass
.
resourceBundle
(),
compatibleWith
:
nil
)
couponImage
.
contentMode
=
.
scaleAspectFill
couponImageHeight
.
constant
=
255
//230 // 253 // self.uiscreen.height * 0.25
couponImageHeight
.
constant
=
2
22
// 2
55 //230 // 253 // self.uiscreen.height * 0.25
nameLabel
.
text
=
"Εκπτωτικό κουπόνι COSMOTE SUPERMARKET DEALS!"
discriptionLabel
.
text
=
"Χρησιμοποίησε τον παρακάτω κωδικό και πάρε έκπτωση στα ενεργά κουπόνια προσφορών."
...
...
Please
register
or
login
to post a comment