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
Vasilis
2022-04-27 17:17:15 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0c4fc8a9dea8c2d1c536f982993f8092b26f8585
0c4fc8a9
1 parent
66193960
wallet initial commit
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WalletView.swift
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS.xcworkspace/xcuserdata/billskouras.xcuserdatad/UserInterfaceState.xcuserstate
View file @
0c4fc8a
No preview for this file type
WarplySDKFrameworkIOS/WarplySDKFrameworkIOS/WalletView.swift
View file @
0c4fc8a
...
...
@@ -23,7 +23,7 @@ extension WalletView {
.
offset
(
y
:
self
.
uiscreen
.
height
*
0.015
)
}
}
Text
(
"
W
allet"
)
Text
(
"
My loyalty w
allet"
)
.
frame
(
width
:
self
.
uiscreen
.
width
*
0.8
,
height
:
self
.
uiscreen
.
height
*
0.025
,
alignment
:
.
center
)
.
offset
(
y
:
self
.
uiscreen
.
height
*
0.02
)
.
font
(
.
system
(
size
:
15
))
...
...
@@ -40,15 +40,25 @@ struct WalletView: View {
func
goBack
(){
for
subview
in
parentView
.
subviews
{
if
(
subview
.
tag
==
1
)
{
if
(
subview
.
tag
==
3
)
{
subview
.
removeFromSuperview
()
}
}
}
var
body
:
some
View
{
headerView
(
goBack
:
goBack
)
Text
(
"Wallet View"
)
VStack
{
headerView
(
goBack
:
goBack
)
ScrollView
(
showsIndicators
:
false
)
{
}
.
frame
(
width
:
self
.
uiscreen
.
width
,
height
:
self
.
uiscreen
.
height
*
0.9
)
.
background
(
LinearGradient
(
gradient
:
Gradient
(
colors
:
[
Color
(
hex
:
0x1AADCC
),
Color
(
hex
:
0x83C062
)]),
startPoint
:
.
top
,
endPoint
:
.
bottom
)
)
}
.
frame
(
width
:
self
.
uiscreen
.
width
,
height
:
self
.
uiscreen
.
height
)
}
}
...
...
Please
register
or
login
to post a comment