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

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

Issue 2940913002: In sync passphrase dialog reset left bar button and title to saved values (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/ui/settings/sync_encryption_passphrase_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller.mm b/ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller.mm
index 5c1f13d5e4b6da5f73ba0c7edb8a3688d0397c16..f0d01bc334032275bb2f090ac52e1ddc7030d5e0 100644
--- a/ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller.mm
@@ -430,8 +430,10 @@ const CGFloat kSpinnerButtonPadding = 18;
return;
isDecryptionProgressShown_ = NO;
- self.navigationItem.leftBarButtonItem = savedLeftButton_ = nil;
- self.title = savedTitle_ = nil;
+ self.navigationItem.leftBarButtonItem = savedLeftButton_;
+ savedLeftButton_ = nil;
+ self.title = savedTitle_;
+ savedTitle_ = nil;
[self setRightNavBarItem];
}
« 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