From 19a30db38c66110ffe4f7f6afb426dfb4e6fa1a2 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Mon, 30 Oct 2023 21:29:36 +0800 Subject: [PATCH] Remove unused code --- ios/Classes/SwiftFlutterNfcKitPlugin.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/ios/Classes/SwiftFlutterNfcKitPlugin.swift b/ios/Classes/SwiftFlutterNfcKitPlugin.swift index 86a72b1..eb88d17 100644 --- a/ios/Classes/SwiftFlutterNfcKitPlugin.swift +++ b/ios/Classes/SwiftFlutterNfcKitPlugin.swift @@ -181,8 +181,6 @@ public class SwiftFlutterNfcKitPlugin: NSObject, FlutterPlugin, NFCTagReaderSess let blockNumber = arguments["blockNumber"] as! Int let dataBlock = (arguments["dataBlock"] as! FlutterStandardTypedData).data - let adjDataBlock = [UInt8](dataBlock); - if case let .iso15693(tag) = tag { tag.extendedWriteSingleBlock(requestFlags: requestFlags, blockNumber: blockNumber, dataBlock: dataBlock) { error in if let error = error {