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-26 13:00:27 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
926da4297e58a254f27fde7c11fdacc12c697cd6
926da429
1 parent
2a8c88fe
add empty numbersList popup at shareVC
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/ShareViewController.swift
View file @
926da42
...
...
@@ -272,6 +272,9 @@ import SwiftEventBus
// MARK: NumbersPopup
extension
ShareViewController
:
NumbersPopupDelegate
{
@objc
func
numbersPopupTapped
(
_
sender
:
Any
)
{
if
(
self
.
numbersList
.
count
==
0
)
{
self
.
showDialog
(
"Κάνε δώρο"
,
"Για την αποστολή του δώρου σου χρειάζεται να έχεις κινητό COSMOTE."
)
}
else
{
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
// self.storyboard?
let
pp
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"NumberPopupViewController"
)
as!
SwiftWarplyFramework
.
NumberPopupViewController
...
...
@@ -281,6 +284,7 @@ extension ShareViewController: NumbersPopupDelegate {
delegate
:
self
,
headerText
:
"Αποστολέας"
)
}
}
func
presentedPopup
()
{
// Code for when popup is presented
...
...
Please
register
or
login
to post a comment