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

Unified Diff: ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm

Issue 2927733002: Use destructive style for remove action (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
diff --git a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
index 4431576114250ee1de240900e8ed3eeed68525a7..a803c22062ed66bb15ca41234508fee7d1c79c3c 100644
--- a/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
+++ b/ios/chrome/browser/content_suggestions/content_suggestions_coordinator.mm
@@ -228,7 +228,7 @@
[weakSelf dismissArticle:weakArticle
atIndexPath:indexPath];
}
- style:UIAlertActionStyleDefault];
+ style:UIAlertActionStyleDestructive];
[self.alertCoordinator addItemWithTitle:l10n_util::GetNSString(IDS_APP_CANCEL)
action:^{
@@ -299,7 +299,7 @@
blacklistMostVisitedURL:strongItem.URL];
[strongSelf showMostVisitedUndoForURL:strongItem.URL];
}
- style:UIAlertActionStyleDefault];
+ style:UIAlertActionStyleDestructive];
[self.alertCoordinator addItemWithTitle:l10n_util::GetNSString(IDS_APP_CANCEL)
action:nil
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698