Commit 278b4cde authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Felix Paul Kühne

UPNP: handle refresh

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent dfac00b6
......@@ -240,6 +240,10 @@
-(void)handleRefresh
{
UPnPManager *managerInstance = [UPnPManager GetInstance];
[[managerInstance DB] removeObserver:(UPnPDBObserver*)self];
[[managerInstance SSDP] stopSSDP];
//set the title while refreshing
refreshControl.attributedTitle = [[NSAttributedString alloc]initWithString:@"Refresh"];
//set the date and time of refreshing
......
Markdown is supported
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