Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Merged
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
5 changes: 5 additions & 0 deletions Classes/Issues/Merge/IssueMergeSectionController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ ListBindingSectionControllerSelectionDelegate {
// MARK: MergeButtonDelegate

func didSelect(button: MergeButton) {

viewController?.view.endEditing(true)

let alert = UIAlertController.configured(
title: NSLocalizedString("Confirm merge", comment: ""),
message: NSLocalizedString("Are you sure you want to merge this pull request?", comment: ""),
Expand All @@ -194,6 +197,8 @@ ListBindingSectionControllerSelectionDelegate {
func didSelectOptions(button: MergeButton) {
guard let types = self.object?.availableTypes, types.count > 0 else { return }

viewController?.view.endEditing(true)

let alert = UIAlertController.configured(
title: NSLocalizedString("Change merge type", comment: ""),
preferredStyle: .actionSheet
Expand Down