-
Notifications
You must be signed in to change notification settings - Fork 9
fix: #172 mock data behind #if DEBUG #178
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
WalkthroughThe update removes the conditional compilation directives ( Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code Definitions (1)LDKNodeMonday/Service/KeyService/KeyService.swift (2)
🔇 Additional comments (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
My only thoughts were if we wanted to do it differently than this or not (we want to hide mock data from the user and thus hide it behind the DEBUG check so it will never go out in a prod build). But since AppMode needs to go out in a prod build yet also holds mock data, I didn't know if there was an alternative path where we could keep mock data hidden yet still use AppMode in some way. Maybe that's a problem that will be solved by just reconfiguring AppMode down the road to not hold mock data or not use AppMode at the point where we have it in front of users, I dunno really, what do you think? |
Since it's (so far) a developer focused wallet I didn't think it was a big issue. I don't have a better idea at the moment. |
yep that's basically what I think too atm, can do something later when we get to a different stage/userbase |
ACK |
Closes #172 |
Fixes issue by removing if DEBUG check
Summary by CodeRabbit