From 1b003b7f73280cd470fe3cad7abad13dc83d2d7a Mon Sep 17 00:00:00 2001 From: Jeff Tung <100387939+jtung-apple@users.noreply.github.com> Date: Fri, 16 Feb 2024 21:03:53 -0800 Subject: [PATCH] Fix for the previous fix - now double tested --- .../Framework/CHIP/MTRDeviceControllerLocalTestStorage.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerLocalTestStorage.m b/src/darwin/Framework/CHIP/MTRDeviceControllerLocalTestStorage.m index 971480feaa122f..4d52e4bf18afb6 100644 --- a/src/darwin/Framework/CHIP/MTRDeviceControllerLocalTestStorage.m +++ b/src/darwin/Framework/CHIP/MTRDeviceControllerLocalTestStorage.m @@ -15,10 +15,10 @@ * limitations under the License. */ -#if MTRDeviceControllerStorageDelegate - #import "MTRDeviceControllerLocalTestStorage.h" +#if MTR_PER_CONTROLLER_STORAGE_ENABLED + static NSString * const kLocalTestUserDefaultDomain = @"org.csa-iot.matter.darwintest"; static NSString * const kLocalTestUserDefaultEnabledKey = @"enableTestStorage"; @@ -94,4 +94,4 @@ - (BOOL)controller:(MTRDeviceController *)controller } @end -#endif // MTRDeviceControllerStorageDelegate +#endif // MTR_PER_CONTROLLER_STORAGE_ENABLED