Skip to content

Commit

Permalink
fix Error: 'new' is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Aug 2, 2024
1 parent 24252b5 commit 00194bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App/ios/Libraries/RFID/Chainway/RFIDBluetoothManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ - (NSMutableArray *)peripheralArray {

- (CBCharacteristic *)myCharacteristic {
if (_myCharacteristic == nil) {
_myCharacteristic = [CBCharacteristic new];
_myCharacteristic = [CBCharacteristic alloc];
}
return _myCharacteristic;
}
Expand Down

0 comments on commit 00194bc

Please sign in to comment.