Rework the feature flag module.
Fix typo, rename class and interface, add doc, do small refacto, to improve code clarity.
This commit is contained in:
parent
4a5a01d710
commit
c16c875e68
8 changed files with 34 additions and 25 deletions
|
|
@ -28,7 +28,8 @@ interface FeatureFlagService {
|
|||
* @param feature the feature to enable or disable
|
||||
* @param enabled true to enable the feature
|
||||
*
|
||||
* @return true if the method succeeds, ie if a RuntimeFeatureFlagProvider is registered
|
||||
* @return true if the method succeeds, ie if a [io.element.android.libraries.featureflag.impl.MutableFeatureFlagProvider]
|
||||
* is registered
|
||||
*/
|
||||
suspend fun setFeatureEnabled(feature: Feature, enabled: Boolean): Boolean
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue