Commit ef926e0e authored by Gleb Pinigin's avatar Gleb Pinigin
Browse files

Local network: deselect table view cell before pushing controller

parent cba491b8
...@@ -172,6 +172,8 @@ ...@@ -172,6 +172,8 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{ {
[tableView deselectRowAtIndexPath:indexPath animated:YES];
if (indexPath.section == 0) { if (indexPath.section == 0) {
BasicUPnPDevice *device = _filteredUPNPDevices[indexPath.row]; BasicUPnPDevice *device = _filteredUPNPDevices[indexPath.row];
if ([[device urn] isEqualToString:@"urn:schemas-upnp-org:device:MediaServer:1"]) { if ([[device urn] isEqualToString:@"urn:schemas-upnp-org:device:MediaServer:1"]) {
......
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