Commit b6f0a24f authored by Soomin Lee's avatar Soomin Lee

VLCCustomDialogProvider: Fix typo in updateProgressWithReference

parent f5b47fa2
......@@ -98,7 +98,7 @@ typedef NS_ENUM(NSUInteger, VLCDialogQuestionType) {
*/
- (void)updateProgressWithReference:(NSValue * _Nonnull)reference
message:(NSString * _Nullable)message
postion:(float)position;
position:(float)position;
/** VLC decided to destroy a dialog
* \param reference to the dialog to destroy
......
......@@ -264,10 +264,10 @@ static void updateProgressCallback(void *p_data,
return;
}
if ([self.customRenderer respondsToSelector:@selector(updateProgressWithReference:message:postion:)]) {
if ([self.customRenderer respondsToSelector:@selector(updateProgressWithReference:message:position:)]) {
[self.customRenderer updateProgressWithReference:dialogData[0]
message:dialogData[1]
postion:[dialogData[2] floatValue]];
position:[dialogData[2] floatValue]];
}
}
......
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