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-07-24 14:45:24 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
07513b4ec3151e8cebd8870c4949455df933db37
07513b4e
1 parent
33612f6e
fix SM single coupon name
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
07513b4
...
...
@@ -122,13 +122,13 @@ import AVFoundation
if
(
isMarket
==
true
)
{
couponImage
.
contentMode
=
.
scaleAspectFit
//
nameLabel.text = coupon?.name ?? ""
nameLabel
.
text
=
coupon
?
.
name
??
""
// discriptionLabel.text = coupon?.short_description ?? ""
let
htmlName
=
coupon
?
.
inner_text
??
""
//
let htmlName = coupon?.inner_text ?? ""
let
htmlDiscription
=
coupon
?
.
description
??
""
nameLabel
.
text
=
htmlName
.
htmlToString
//
nameLabel.text = htmlName.htmlToString
discriptionLabel
.
text
=
htmlDiscription
.
htmlToString
}
else
{
couponImage
.
contentMode
=
.
scaleAspectFill
...
...
Please
register
or
login
to post a comment