Skip to content

Commit bd86707

Browse files
author
Rick Pasetto
authored
Adds allowDebugFeatures to DeviceManagerDelegate protocol (#390)
(similar to how OnboardingProvider does it)
1 parent 679ba5f commit bd86707

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Loop/Managers/DeviceDataManager.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,10 @@ extension DeviceDataManager: DeviceManagerDelegate {
769769
func deviceManager(_ manager: DeviceManager, logEventForDeviceIdentifier deviceIdentifier: String?, type: DeviceLogEntryType, message: String, completion: ((Error?) -> Void)?) {
770770
deviceLog.log(managerIdentifier: manager.managerIdentifier, deviceIdentifier: deviceIdentifier, type: type, message: message, completion: completion)
771771
}
772+
773+
var allowDebugFeatures: Bool {
774+
FeatureFlags.mockTherapySettingsEnabled // NOTE: DEBUG FEATURES - DEBUG AND TEST ONLY
775+
}
772776
}
773777

774778
// MARK: - UserAlertHandler

0 commit comments

Comments
 (0)