mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
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:
committed by
Benoit Marty
parent
4a5a01d710
commit
c16c875e68
+2
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user