Skip to content

Commit 2a38cf8

Browse files
committed
Adjust ShareModularViewController showRetryAlert indentation
This is to make the diff of the next commit, where I'll add reverse-DNS keys, cleaner.
1 parent a18e59a commit 2a38cf8

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

WordPress/WordPressShareExtension/ShareModularViewController.swift

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -883,12 +883,24 @@ fileprivate extension ShareModularViewController {
883883
}
884884

885885
func showRetryAlert() {
886-
let title: String = AppLocalizedString("Sharing Error", comment: "Share extension error dialog title.")
887-
let message: String = AppLocalizedString("Whoops, something went wrong while sharing. You can try again, maybe it was a glitch.", comment: "Share extension error dialog text.")
888-
let dismiss: String = AppLocalizedString("Dismiss", comment: "Share extension error dialog cancel button label.")
886+
let title: String = AppLocalizedString(
887+
"Sharing Error",
888+
comment: "Share extension error dialog title."
889+
)
890+
let message: String = AppLocalizedString(
891+
"Whoops, something went wrong while sharing. You can try again, maybe it was a glitch.",
892+
comment: "Share extension error dialog text."
893+
)
894+
let dismiss: String = AppLocalizedString(
895+
"Dismiss",
896+
comment: "Share extension error dialog cancel button label."
897+
)
889898
let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
890899

891-
let acceptButtonText = AppLocalizedString("Try again", comment: "Share extension error dialog retry button label.")
900+
let acceptButtonText = AppLocalizedString(
901+
"Try again",
902+
comment: "Share extension error dialog retry button label."
903+
)
892904
let acceptAction = UIAlertAction(title: acceptButtonText, style: .default) { (action) in
893905
self.savePostToRemoteSite()
894906
}

0 commit comments

Comments
 (0)