Skip to content

Commit

Permalink
fix: Clean up unused native variables (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jan 27, 2022
1 parent 36c72cc commit 6d2df1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions ios/MmkvModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

@interface MmkvModule : NSObject <RCTBridgeModule>

@property (nonatomic, assign) BOOL setBridgeOnMainQueue;

@end
4 changes: 1 addition & 3 deletions ios/MmkvModule.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
using namespace facebook;

@implementation MmkvModule
@synthesize bridge = _bridge;
@synthesize methodQueue = _methodQueue;

RCT_EXPORT_MODULE(MMKV)

Expand All @@ -38,7 +36,7 @@ + (NSString*)getPropertyAsStringOrNilFromObject:(jsi::Object&)object propertyNam
return @false;
}
auto& runtime = *jsiRuntime;

[MMKV initializeMMKV:storageDirectory];

// MMKV.createNewInstance()
Expand Down

0 comments on commit 6d2df1a

Please sign in to comment.