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

Unified Diff: remoting/ios/app/host_view_controller.mm

Issue 2928433002: [CRD iOS] Use UINavigationController for view stack manipulation (Closed)
Patch Set: Add comment 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 | « remoting/ios/app/client_connection_view_controller.mm ('k') | remoting/ios/app/remoting_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/app/host_view_controller.mm
diff --git a/remoting/ios/app/host_view_controller.mm b/remoting/ios/app/host_view_controller.mm
index 07fa9f4968f1ea1b2eaf165dbd9e4281b063699c..4aa780fc7db24b424170b4c943c80d67ce5eb902 100644
--- a/remoting/ios/app/host_view_controller.mm
+++ b/remoting/ios/app/host_view_controller.mm
@@ -258,7 +258,7 @@ static const CGFloat kKeyboardAnimationTime = 0.3;
void (^disconnectHandler)(UIAlertAction*) = ^(UIAlertAction*) {
[_client disconnectFromHost];
- [self dismissViewControllerAnimated:YES completion:nil];
+ [self.navigationController popViewControllerAnimated:YES];
};
[alert addAction:[UIAlertAction actionWithTitle:@"Disconnect"
style:UIAlertActionStyleDefault
« no previous file with comments | « remoting/ios/app/client_connection_view_controller.mm ('k') | remoting/ios/app/remoting_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698