Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jc/fix/call workflow #155

Open
wants to merge 1 commit into
base: test-flight
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: a34a0704f170740e5232155f85151bf053690f95

COCOAPODS: 1.11.3
COCOAPODS: 1.12.0
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ extension ChatViewController : ChatHeaderViewDelegate {
let isPublicGroup = chat?.isPublicGroup() ?? false
let isMyPublicGroup = chat?.isMyPublicGroup() ?? false

alert.addAction(UIAlertAction(title: "create.call".localized, style: .default, handler:{ (UIAlertAction) in
self.sendCallMessage(sender: sender)
}))


if isPublicGroup {
alert.addAction(UIAlertAction(title: "create.call".localized, style: .default, handler:{ (UIAlertAction) in
self.sendCallMessage(sender: sender)
}))
alert.addAction(UIAlertAction(title: "notifications.level".localized, style: .default, handler:{ (UIAlertAction) in
self.goToNotificationsLevel()
}))
Expand All @@ -131,6 +132,9 @@ extension ChatViewController : ChatHeaderViewDelegate {
}))
}
}
else{
self.sendCallMessage(sender: sender)
}

alert.addAction(UIAlertAction(title: "cancel".localized, style: .cancel ))
alert.popoverPresentationController?.sourceView = sender
Expand Down
2 changes: 1 addition & 1 deletion sphinx/Supporting Files/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
"create.call" = "Create Call";
"select.call.mode" = "Select call mode";
"audio" = "Audio";
"video.or.audio" = "Video or Audio";
"video.or.audio" = "Video";
"log.into.your.account" = "Log in to your account";
"email.cant.be.sent" = "Email can't be sent from this device. ";
"photo.library.denied" = "You have revoked Photo Library permissions. Go to Settings -> Sphinx to enable them again.";
Expand Down