Skip to content

Commit

Permalink
Remove alert when normal pairing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonghenhan committed Aug 8, 2022
1 parent 6f48cbc commit cc2cd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Helpers/WebOSTVServiceSocketClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ -(void) registerWithTv
if (pairingString) {
self.service.pairingType = [self pairingStringToType:pairingString];
// TODO: Need to update the method name socketWillRegister to socketWillRequirePairingWithPairingType.
if (self.delegate && [self.delegate respondsToSelector:@selector(socketWillRegister:)] && self.service.pairingType != DeviceServicePairingTypeNone){
if (self.delegate && [self.delegate respondsToSelector:@selector(socketWillRegister:)] && self.service.pairingType > DeviceServicePairingTypeFirstScreen){
[self.delegate socketWillRegister:self];
}
}
Expand Down

0 comments on commit cc2cd3f

Please sign in to comment.