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-12-19 14:03:43 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cb23b34fb8f35ccfd195365b627fa4f9aea4572f
cb23b34f
1 parent
05a0c0f7
localize VouchersBanner
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
SwiftWarplyFramework/SwiftWarplyFramework/WalletVouchersBannerTableViewCell.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletVouchersBannerTableViewCell.swift
View file @
cb23b34
...
...
@@ -17,11 +17,13 @@ import UIKit
@IBOutlet
weak
var
voucherBannerArrowImage
:
UIImageView
!
@IBOutlet
weak
var
voucherCountView
:
UIView
!
let
language
=
swiftApi
()
.
getLanguage
()
public
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
// Initialization code
sectionTitleLabel
.
text
=
"Υπόλοιπο επιδότησης"
sectionTitleLabel
.
text
=
language
==
"en"
?
"Subsidy balance"
:
"Υπόλοιπο επιδότησης"
voucherBannerView
.
layer
.
cornerRadius
=
16.0
voucherBannerView
.
layer
.
borderWidth
=
1
...
...
@@ -62,7 +64,7 @@ import UIKit
voucherBannerView
.
backgroundColor
=
.
white
voucherBannerIconImage
.
image
=
voucherBannerIconImage
.
image
?
.
withRenderingMode
(
.
alwaysTemplate
)
voucherBannerIconImage
.
tintColor
=
UIColor
(
red
:
0.00
,
green
:
0.65
,
blue
:
0.89
,
alpha
:
1.00
)
voucherBannerLabel
.
text
=
"Δες το διαθέσιμο υπόλοιπο"
voucherBannerLabel
.
text
=
language
==
"en"
?
"Check the available balance"
:
"Δες το διαθέσιμο υπόλοιπο"
voucherBannerLabel
.
textColor
=
UIColor
(
red
:
0.13
,
green
:
0.13
,
blue
:
0.13
,
alpha
:
1.00
)
voucherBannerLabel
.
frame
.
size
.
width
=
voucherBannerLabel
.
intrinsicContentSize
.
width
voucherCountView
.
isHidden
=
true
...
...
@@ -71,7 +73,7 @@ import UIKit
voucherBannerView
.
backgroundColor
=
UIColor
(
red
:
0.95
,
green
:
0.95
,
blue
:
0.95
,
alpha
:
1.00
)
voucherBannerIconImage
.
image
=
voucherBannerIconImage
.
image
?
.
withRenderingMode
(
.
alwaysTemplate
)
voucherBannerIconImage
.
tintColor
=
UIColor
(
red
:
0.52
,
green
:
0.52
,
blue
:
0.52
,
alpha
:
1.00
)
voucherBannerLabel
.
text
=
"Διαθέσιμο υπόλοιπο"
voucherBannerLabel
.
text
=
language
==
"en"
?
"Available balance"
:
"Διαθέσιμο υπόλοιπο"
voucherBannerLabel
.
textColor
=
UIColor
(
red
:
0.52
,
green
:
0.52
,
blue
:
0.52
,
alpha
:
1.00
)
voucherBannerLabel
.
frame
.
size
.
width
=
voucherBannerLabel
.
intrinsicContentSize
.
width
voucherCountView
.
isHidden
=
false
...
...
Please
register
or
login
to post a comment