Refactor FeatureFlagResult handling on com.fsck.k9.controller.ArchiveOperations
- added whenEnabledOrNot function that returns value on FeatureFlagResult that returns value as per it's sealed object(Enabled,Disabled,Unavailable). - used the FeatureFlagResult's whenEnabledOrNot function in com.fsck.k9.controller.ArchiveOperations to handle FeatureFlagResult.
Loading
Please register or sign in to comment