Commit 94c7e06d authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

network login controller: fix navigation on iPad

parent 483688be
......@@ -153,7 +153,10 @@
return;
}
[self.navigationController popViewControllerAnimated:YES];
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone)
[self.navigationController popViewControllerAnimated:YES];
else
[self dismissViewControllerAnimated:YES completion:nil];
[self.delegate loginToServer:self.serverField.text
port:self.portField.text
protocol:protocol
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment