Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-iOS
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Surajeet Das
VLC-iOS
Commits
5d548fea
Commit
5d548fea
authored
1 year ago
by
Felix Paul Kühne
Committed by
Diogo Simao Marques
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Donation: add missing popover sourceviews
This resolves exceptions on iPad.
parent
a3d2c560
No related branches found
Branches containing commit
Tags
3.5.3
tv3.5.3
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Sources/Donation/VLCDonationCreditCardViewController.m
+2
-0
2 additions, 0 deletions
Sources/Donation/VLCDonationCreditCardViewController.m
Sources/Donation/VLCDonationViewController.m
+2
-0
2 additions, 0 deletions
Sources/Donation/VLCDonationViewController.m
with
4 additions
and
0 deletions
Sources/Donation/VLCDonationCreditCardViewController.m
+
2
−
0
View file @
5d548fea
...
...
@@ -214,6 +214,7 @@ UITextContentType const UITextContentTypeCreditCardSecurityCode = @"UITextConten
handler:
^
(
UIAlertAction
*
_Nonnull
action
){
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}]];
alertController
.
popoverPresentationController
.
sourceView
=
self
.
confettiView
;
[
self
presentViewController
:
alertController
animated
:
YES
completion
:
nil
];
}
...
...
@@ -231,6 +232,7 @@ UITextContentType const UITextContentTypeCreditCardSecurityCode = @"UITextConten
handler:
^
(
UIAlertAction
*
_Nonnull
action
)
{
[
self
hideInputElements
:
NO
];
}]];
alertController
.
popoverPresentationController
.
sourceView
=
self
.
confettiView
;
[
self
presentViewController
:
alertController
animated
:
YES
completion
:
nil
];
}
...
...
This diff is collapsed.
Click to expand it.
Sources/Donation/VLCDonationViewController.m
+
2
−
0
View file @
5d548fea
...
...
@@ -462,6 +462,7 @@ typedef void (^CompletionHandler)(PKPaymentAuthorizationStatus);
handler:
^
(
UIAlertAction
*
_Nonnull
action
){
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}]];
alertController
.
popoverPresentationController
.
sourceView
=
self
.
confettiView
;
[
self
presentViewController
:
alertController
animated
:
YES
completion
:
nil
];
}
...
...
@@ -497,6 +498,7 @@ typedef void (^CompletionHandler)(PKPaymentAuthorizationStatus);
handler:
^
(
UIAlertAction
*
_Nonnull
action
){
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}]];
alertController
.
popoverPresentationController
.
sourceView
=
self
.
confettiView
;
[
self
presentViewController
:
alertController
animated
:
YES
completion
:
nil
];
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment