Skip to content

Commit

Permalink
missing Tool class conditions (toolClassForKey)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenchann committed Jan 21, 2025
1 parent 72186d2 commit 2f44dde
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/Classes/PdftronFlutterPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -3819,6 +3819,12 @@ + (Class)toolClassForKey:(NSString *)key
else if ([key isEqualToString:PTPanToolKey]) {
return [PTPanTool class];
}
else if ([key isEqualToString:PTAnnotationSmartPenToolKey]) {
return [PTSmartPen class];
}
else if ([key isEqualToString:PTPencilKitDrawingToolKey]) {
return [PTPencilDrawingCreate class];
}

return Nil;
}
Expand Down

0 comments on commit 2f44dde

Please sign in to comment.