Commit bb9fb5a6 authored by Vincent L. Cone's avatar Vincent L. Cone Committed by Felix Paul Kühne

iOS: fix local network manual connect.

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit 9df0c7a9f6a99c2af23eef55a36c92bb22b80b2a)
parent c2cb6dae
......@@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface VLCLocalNetworkServiceItemLogin : NSObject <VLCLocalNetworkService>
- (instancetype)init;
- (instancetype)initWithServiceName:(NSString *)serviceName;
@end
NS_ASSUME_NONNULL_END
......@@ -26,7 +26,7 @@
self = [super init];
if (self) {
_name = @"Generic";
_loginItem = [[VLCLocalNetworkServiceItemLogin alloc] init];
_loginItem = [[VLCLocalNetworkServiceItemLogin alloc] initWithServiceName:_name];
}
return self;
}
......
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