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-09-06 12:03:45 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2014c70161b00c00eeef21d54ce503c7919aeda2
2014c701
1 parent
4ba69166
add sharing popups dynamic texts
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
2014c70
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
2014c70
...
...
@@ -2847,10 +2847,10 @@ public class swiftApi {
}
}
else
if
(
sharingData
?
.
_status_outer
==
4
)
{
self
.
errorExpiredDialog
(
controller
)
self
.
errorExpiredDialog
(
controller
,
sharingData
?
.
_msg
??
""
)
}
else
if
(
sharingData
?
.
_status_outer
==
5
)
{
self
.
errorUsedDialog
(
controller
)
self
.
errorUsedDialog
(
controller
,
sharingData
?
.
_msg
??
""
)
}
}
}
else
{
// status != 1
...
...
@@ -3033,9 +3033,9 @@ public class swiftApi {
controller
.
present
(
alert
,
animated
:
true
,
completion
:
nil
)
}
func
errorExpiredDialog
(
_
controller
:
UIViewController
)
->
Void
{
func
errorExpiredDialog
(
_
controller
:
UIViewController
,
_
alertTitle
:
String
)
->
Void
{
let
alert
=
UIAlertController
(
title
:
"Αποτυχία"
,
message
:
"Το δώρο έχει λήξει"
,
preferredStyle
:
.
alert
)
let
alert
=
UIAlertController
(
title
:
"Αποτυχία"
,
message
:
alertTitle
,
preferredStyle
:
.
alert
)
alert
.
addAction
(
UIAlertAction
(
title
:
"OK"
,
style
:
.
default
,
handler
:
{
action
in
switch
action
.
style
{
case
.
default
:
...
...
@@ -3052,9 +3052,9 @@ public class swiftApi {
controller
.
present
(
alert
,
animated
:
true
,
completion
:
nil
)
}
func
errorUsedDialog
(
_
controller
:
UIViewController
)
->
Void
{
func
errorUsedDialog
(
_
controller
:
UIViewController
,
_
alertTitle
:
String
)
->
Void
{
let
alert
=
UIAlertController
(
title
:
"Αποτυχία"
,
message
:
"Το δώρο έχει ήδη χρησιμοποιηθεί"
,
preferredStyle
:
.
alert
)
let
alert
=
UIAlertController
(
title
:
"Αποτυχία"
,
message
:
alertTitle
,
preferredStyle
:
.
alert
)
alert
.
addAction
(
UIAlertAction
(
title
:
"OK"
,
style
:
.
default
,
handler
:
{
action
in
switch
action
.
style
{
case
.
default
:
...
...
Please
register
or
login
to post a comment