Skip to content

Commit 508ea6d

Browse files
restyled-commitsnivi-apple
authored andcommitted
Restyled by clang-format
1 parent 3efd38a commit 508ea6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/darwin/Framework/CHIP/MTRDevice.mm

+3-3
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,8 @@ - (void)_setDSTOffsets:(NSArray<MTRTimeSynchronizationClusterDSTOffsetStruct *>
685685
#define MTR_DEVICE_SUBSCRIPTION_MAX_INTERVAL_MIN (10 * 60) // 10 minutes (for now)
686686
#define MTR_DEVICE_SUBSCRIPTION_MAX_INTERVAL_MAX (60 * 60) // 60 minutes
687687

688-
-(BOOL)_subscriptionsAllowed {
688+
- (BOOL)_subscriptionsAllowed
689+
{
689690
return ![_deviceController isKindOfClass:MTRDeviceControllerOverXPC.class];
690691
}
691692

@@ -1693,8 +1694,7 @@ - (void)_setupSubscription
16931694
{
16941695
os_unfair_lock_assert_owner(&self->_lock);
16951696

1696-
if (![self _subscriptionsAllowed])
1697-
{
1697+
if (![self _subscriptionsAllowed]) {
16981698
MTR_LOG("_setupSubscription: Subscriptions not allowed. Do not set up subscription");
16991699
return;
17001700
}

0 commit comments

Comments
 (0)