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

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

Issue 2966243003: Fixing signed in message and disconnect/reconnect case. (Closed)
Patch Set: Merged. Created 3 years, 5 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/pin_entry_view.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 6bf399323bc43db624a17464634f4c20bda82171..ea36e7306cd19eb8a1e3f37f45c164862260c29c 100644
--- a/remoting/ios/app/host_view_controller.mm
+++ b/remoting/ios/app/host_view_controller.mm
@@ -310,7 +310,7 @@ static const CGFloat kKeyboardAnimationTime = 0.3;
void (^disconnectHandler)(UIAlertAction*) = ^(UIAlertAction*) {
[_client disconnectFromHost];
- [self.navigationController popViewControllerAnimated:YES];
+ [self.navigationController popToRootViewControllerAnimated:YES];
[_actionImageView setActive:NO animated:YES];
};
[alert addAction:[UIAlertAction actionWithTitle:@"Disconnect"
« no previous file with comments | « remoting/ios/app/client_connection_view_controller.mm ('k') | remoting/ios/app/pin_entry_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698