-
Notifications
You must be signed in to change notification settings - Fork 1
Show Dev Settings by default in debug builds #471
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
Conversation
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 simplifies the logic for enabling Developer Settings by defaulting it to true in debug builds, aligning with iOS behavior and accommodating E2E test configurations.
Key Changes:
- Replaced complex conditional logic (
!Env.isE2eTest && Env.network != Network.BITCOIN) with simplerEnv.isDebugcheck - Removed unused
Networkimport - Removed unnecessary
@Suppressannotations that are no longer needed
Code Review - PR #471: Show Dev Settings by default in debug buildsOverviewThis PR simplifies the ✅ Positive Findings1. Code Quality & Simplification
2. Logic & Correctness
🔍 Observations & Considerations1. Behavioral Changes Before:
After:
Impact:
2. Test Coverage
3. User Experience
🔒 Security Considerations
⚡ Performance Considerations
📝 Suggestions1. Documentation (Optional) // Dev mode enabled by default in debug builds for development and E2E testing
val isDevModeEnabled: Boolean = Env.isDebug,2. Verify Build Variants
✅ ConclusionOverall Assessment: Excellent Change This is a well-considered simplification that:
Recommendation: Approve ✅ The change is clean, logical, and improves the codebase. The only minor suggestion is to consider adding unit tests for default values to prevent future regressions. 🤖 Generated with Claude Code |
ovitrif
left a comment
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.
ACK ✅
Description
In order to be consistent with iOS [see] and given the fact that both builds for e2e tests are done in debug configuration the PR sets Dev Settings as enabled in debug mode. E2E tests updated accordingly.
Preview
QA Notes
synonymdev/bitkit-e2e-tests#51