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

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

Issue 2966243003: Fixing signed in message and disconnect/reconnect case. (Closed)
Patch Set: Adding formatting and todo for later. 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
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"

Powered by Google App Engine
This is Rietveld 408576698