From 3d76a016b055d0cd252efa181b648f80fa4acd77 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 10 Oct 2020 21:06:05 +0200 Subject: StatusView.m: Hide the status section when "Stop" button is clicked Provides visual feedback that the server has stopped (or should have stopped). --- Drop Serve/StatusView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Drop Serve/StatusView.m b/Drop Serve/StatusView.m index a96f3ff..8d93175 100644 --- a/Drop Serve/StatusView.m +++ b/Drop Serve/StatusView.m @@ -19,6 +19,7 @@ - (IBAction)stopServer:(id)sender { [Server stop]; + [self setHidden:YES]; } @end -- cgit v1.2.3