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-10-30 17:04:22 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7eb70fe4dd5a0c3914e9a8e2b9c20245d467680e
7eb70fe4
1 parent
6a7594db
fix barcode generator
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/CouponBarcodeViewController.swift
View file @
7eb70fe
...
...
@@ -638,6 +638,11 @@ import AVFoundation
var
result
=
0
;
var
fixedCouponCode
=
couponString
;
if
(
fixedCouponCode
.
count
==
13
)
{
return
fixedCouponCode
;
}
if
(
fixedCouponCode
.
count
<
12
)
{
let
loops
=
12
-
fixedCouponCode
.
count
;
var
zerosStr
=
""
;
...
...
Please
register
or
login
to post a comment