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.
Problem Description
Android app currently lacks the ability to toggle channel privacy, currently web app have this function.. Adding this option enables users to seamlessly switch between public and private channels, improving flexibility and access control.
Changes
The ability to toggle channel privacy has been added. This feature is integrated into the Channel Settings.
It allows switching a public channel to private and vice versa. I
nformative confirmation dialogs have also been implemented.
Steps for testing
1 user with moderation rights
Open course activated Channel
In each case should display a pop up to inform user about the changes that will be made. (See Screenshot)
And verify the privacy is toggled from public to private or vice versa
Screenshots