feat(iOS): Enable Rich Presence toggle on by default#46
Draft
Conversation
…on by default Co-authored-by: thehairy <71461991+thehairy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Set default to enable 'Show RPC' toggle
feat(iOS): Enable Rich Presence toggle on by default
Dec 2, 2025
thehairy
requested changes
Dec 2, 2025
Member
thehairy
left a comment
There was a problem hiding this comment.
I suppose this won't work like this.
We can't just set it to true, since we also need to check if the discord auth is complete and then also need to initiate the actual RPC, but you know, by default.
…d by default Co-authored-by: thehairy <71461991+thehairy@users.noreply.github.com>
…code duplication Co-authored-by: thehairy <71461991+thehairy@users.noreply.github.com>
Author
Good catch! I've updated the implementation in
This ensures RPC is properly initiated when Discord auth completes, not just on the toggle change event. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Users installing the app expect Rich Presence to work immediately after connecting Discord. The current default of
falserequires an extra manual step.Changes
userEnabledRPCdefault totrueinContentView.swiftupdateTrackedDiscordState()to automatically initiate RPC when Discord authentication completes and becomes readystartRPCServices()andstopRPCServices()methods for consistencyWhen Discord authentication completes:
Users can still disable the toggle if desired.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.