-
Notifications
You must be signed in to change notification settings - Fork 10
SleepMode rename #724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SleepMode rename #724
Conversation
Size Comparison Report (x86_64)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR renames the SleepMode enum values from .active/.inactive to .enabled/.disabled across both Swift and Kotlin platforms to improve naming clarity and consistency.
- Renamed
SleepMode.activetoSleepMode.enabledandSleepMode.inactivetoSleepMode.disabled - Updated all references to use the new enum values throughout the codebase
- Updated documentation comments to reflect the new naming
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| platform/swift/source/features/SleepMode.swift | Renamed enum cases from active/inactive to enabled/disabled |
| platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/SleepMode.kt | Renamed enum cases from ACTIVE/INACTIVE to ENABLED/DISABLED |
| platform/swift/source/features/Configuration.swift | Updated default value and documentation to use disabled |
| platform/swift/source/LoggerObjc.swift | Updated documentation and default parameter value |
| platform/swift/source/LoggerBridgingFactoryProvider.swift | Updated documentation comment |
| platform/swift/source/LoggerBridge.swift | Updated enum comparisons to use enabled |
| platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/LoggerImpl.kt | Updated enum comparisons to use ENABLED |
| platform/jvm/capture/src/main/kotlin/io/bitdrift/capture/Configuration.kt | Updated default value and documentation |
| test/platform/swift/unit_integration/mocks/MockLogging.swift | Updated default value to disabled |
| test/platform/swift/unit_integration/mocks/MockLoggerBridging.swift | Updated default value to disabled |
| test/platform/swift/unit_integration/core/network/helper/BaseNetworkingTestCase.swift | Updated test initialization to use disabled |
| test/platform/swift/unit_integration/core/LoggerTests.swift | Updated test to use enabled |
| test/platform/swift/unit_integration/core/ConfigurationTests.swift | Updated test assertion to check disabled |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0d64125 to
34ed4bd
Compare
Main change
Will update public docs on next release