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-07-06 16:00:36 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
26382266e8b77c61a796992c9a1d7a20140ba9b7
26382266
1 parent
401370a1
fix questionnaireButton ui at walletVC
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ViewControllerExtensions.swift
View file @
2638226
...
...
@@ -175,6 +175,7 @@ extension UIView {
gradient
.
colors
=
colours
.
map
{
$0
.
cgColor
}
gradient
.
locations
=
locations
gradient
.
cornerRadius
=
cornerRadius
gradient
.
name
=
"linearGradientLayer"
self
.
layer
.
insertSublayer
(
gradient
,
at
:
0
)
}
...
...
@@ -185,6 +186,7 @@ extension UIView {
gradient
.
startPoint
=
orientation
.
startPoint
gradient
.
endPoint
=
orientation
.
endPoint
gradient
.
cornerRadius
=
cornerRadius
gradient
.
name
=
"linearGradientLayer"
self
.
layer
.
insertSublayer
(
gradient
,
at
:
0
)
}
}
...
...
SwiftWarplyFramework/SwiftWarplyFramework/WalletViewController.swift
View file @
2638226
...
...
@@ -218,6 +218,12 @@ import SwiftEventBus
questionnaireButton
.
layer
.
shadowRadius
=
0.0
questionnaireButton
.
layer
.
masksToBounds
=
false
}
else
{
for
layer
in
(
questionnaireButton
.
layer
.
sublayers
??
[])
{
if
(
layer
.
name
==
"linearGradientLayer"
){
layer
.
removeFromSuperlayer
()
}
}
questionnaireButton
.
layer
.
shadowOpacity
=
0.0
;
questionnaireButton
.
setTitle
(
"+Προτιμήσεις"
,
for
:
.
normal
)
questionnaireButton
.
titleLabel
?
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
,
weight
:
.
semibold
)
questionnaireButton
.
setTitleColor
(
UIColor
(
red
:
0.31
,
green
:
0.62
,
blue
:
0.18
,
alpha
:
1.00
),
for
:
.
normal
)
...
...
Please
register
or
login
to post a comment