Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove dead code from Notifications #24104

Draft
wants to merge 5 commits into
base: trunk
Choose a base branch
from
Draft
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
13 changes: 0 additions & 13 deletions WordPress/Classes/Extensions/UIAlertController+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,4 @@ extension UIAlertController {
alertController.addCancelActionWithTitle(NSLocalizedString("Cancel", comment: "Cancel copying link to comment button title"))
return alertController
}

/// This method is will present an alert controller (action sheet style) that
/// provides a copy action to allow copying the url parameter to the clip board.
/// Once copied, a notice will be posted using the dispacher so the user will know
/// the url was copied.
@objc static func presentAlertAndCopyCommentURLToClipboard(url: URL) {
let noticeTitle = NSLocalizedString("Link Copied to Clipboard", comment: "Link copied to clipboard notice title")

let copyAlertController = UIAlertController.copyCommentURLAlertController(url) {
ActionDispatcher.dispatch(NoticeAction.post(Notice(title: noticeTitle)))
}
copyAlertController?.presentFromRootViewController()
}
}
2 changes: 0 additions & 2 deletions WordPress/Classes/System/WordPress-Bridging-Header.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#import "CoreDataStack.h"
#import "Coordinate.h"

#import "EditCommentViewController.h"

#import "LocalCoreDataService.h"

#import "Media.h"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading