Skip to content

Commit

Permalink
fix: make 0 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Dec 10, 2024
1 parent 3ec2762 commit 9364f0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modules/background-task/ios/RNBackgroundTaskManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

@interface RNBackgroundTaskManager : NSObject

@property (nonatomic, copy) void (^taskHandler)(BGTask * _Nonnull);
@property (nonatomic, copy) void (^ _Nullable taskHandler)(BGTask * _Nonnull);

+ (instancetype)shared;
+ (instancetype _Nullable )shared;
+ (void)setup;
- (void)setHandlerForIdentifier:(NSString *)identifier
completion:(void (^)(BGTask * _Nonnull))handler;
- (void (^)(BGTask * _Nonnull))handlerForIdentifier:(NSString *)identifier;
- (void)setHandlerForIdentifier:(NSString *_Nullable)identifier
completion:(void (^_Nullable)(BGTask * _Nonnull))handler;
- (void (^_Nullable)(BGTask * _Nonnull))handlerForIdentifier:(NSString *_Nullable)identifier;

@end

0 comments on commit 9364f0d

Please sign in to comment.