Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #1414: Full screen modal presentation style for iOS 13. #1415

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

iccub
Copy link
Contributor

@iccub iccub commented Aug 20, 2019

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • My patch or PR title has a standard commit message that looks like Fix #123: This fixes the shattered coffee cup! (or No Bug: <message> if no relevant ticket)
  • Unit Tests are updated to cover new or changed functionality
  • User-facing strings use NSLocalizableString()
  • New files have MPL-2.0 license header.

Test Plan:

Check if settings screen is showing correctly on iPhone iOS 13

Screenshots:

Reviewer Checklist:

  • PR is linked to an issue via Zenhub.
  • Issues are assigned to at least one epic.
  • Issues include necessary QA labels:
    • QA/(Yes|No)
    • release-notes/(include|exclude)
    • bug / enhancement
  • Necessary security reviews have taken place.
  • Adequate test coverage exists to prevent regressions.
  • Adequate test plan exists for QA to validate (if applicable)

@@ -180,9 +180,18 @@ class MenuViewController: UITableViewController {
private enum DoneButtonPosition { case left, right }
private typealias DoneButton = (style: UIBarButtonItem.SystemItem, position: DoneButtonPosition)

private func open(_ viewController: UIViewController, doneButton: DoneButton) {
private func open(_ viewController: UIViewController, doneButton: DoneButton,
allowSwipeTodismiss: Bool = true) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor nit: camel case typo allowSwipeToDismiss

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants