Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm

Issue 2889183005: Show all mailto: handlers, but dim unavailable ones. (Closed)
Patch Set: add deps Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm b/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
index f363ad417b64defe4b835a680ce44705347cddfb..b80c9ac11ae11819317a76ebbbd49e2a779e580d 100644
--- a/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/content_settings_collection_view_controller.mm
@@ -132,8 +132,7 @@ typedef NS_ENUM(NSInteger, ItemType) {
toSectionWithIdentifier:SectionIdentifierSettings];
[model addItem:[self translateItem]
toSectionWithIdentifier:SectionIdentifierSettings];
- if (!experimental_flags::IsNativeAppLauncherEnabled() &&
- [[_mailtoURLRewriter defaultHandlers] count] > 1) {
+ if (!experimental_flags::IsNativeAppLauncherEnabled()) {
[model addItem:[self composeEmailItem]
toSectionWithIdentifier:SectionIdentifierSettings];
}

Powered by Google App Engine
This is Rietveld 408576698