-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] - Add alert for mobile config download #27115
Conversation
@@ -744,7 +744,26 @@ extension BrowserViewController: WKNavigationDelegate { | |||
let mimeType = response.mimeType.flatMap({ UTType(mimeType: $0) }), | |||
mimeTypesThatRequireSFSafariViewControllerHandling.contains(mimeType) | |||
{ | |||
handleLinkWithSafariViewController(url, tab: tab) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This handles other mime types as well not just mobile configurations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I think it should do it also for the calendar type.
So both the calendar and the mobile config since you can do the same issue on both.
I'll have to change the text I guess, to handle both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Added calendar support.
comment: "Title of the alert when a mobile configuration profile is available for download" | ||
) | ||
public static let openMobileConfigurationAlertDescription = NSLocalizedString( | ||
"OpenMobileConfigurationAlertTitle", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Key duped
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
"OpenTextCalendarAlertTitle", | ||
tableName: "BraveShared", | ||
bundle: .module, | ||
value: "Calendar available", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May want to say "calendar event" or something along those lines instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash commits (or squash merge)
Released in v1.75.149 |
Summary
Resolves brave/brave-browser#43092
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: