From 684aaf8cb29cb4f097f6d65013a74fe3a157bbc3 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 9 Jan 2015 01:35:40 -0500 Subject: [PATCH] Display a less pessimistic dialog when the connection ends --- Limelight/ViewControllers/StreamFrameViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/StreamFrameViewController.m b/Limelight/ViewControllers/StreamFrameViewController.m index 20b9ebe..92b63d9 100644 --- a/Limelight/ViewControllers/StreamFrameViewController.m +++ b/Limelight/ViewControllers/StreamFrameViewController.m @@ -70,7 +70,7 @@ - (void)connectionTerminated:(long)errorCode { printf("Connection terminated: %ld\n", errorCode); - UIAlertController* conTermAlert = [UIAlertController alertControllerWithTitle:@"Connection Terminated" message:@"The connection terminated unexpectedly" preferredStyle:UIAlertControllerStyleAlert]; + UIAlertController* conTermAlert = [UIAlertController alertControllerWithTitle:@"Connection Terminated" message:@"The connection was terminated" preferredStyle:UIAlertControllerStyleAlert]; [conTermAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:^(UIAlertAction* action){ [self returnToMainFrame]; }]];