Released on July 27, 2021
<aside> ‼️ This release requires prior migration to 1.0.17
</aside>
Draft configuration.
By default drafts enabled, asks the user to save a draft before leave any VideoEditor screen. If you need to change drafts configuration you should add the code below in the VideoEditorKoinModule
:
override val draftConfig: BeanDefinition<DraftConfig> = factory(override = true) {
DraftConfig.ENABLED_ASK_TO_SAVE
}
You can choose one of these options:
ENABLED_ASK_TO_SAVE
- drafts enabled, asks the user to save a draftENABLED_SAVE_BY_DEFAULT
- drafts enabled, saved by default without asking the userDISABLED
- disabled drafts