//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.main.presentation/RootComponent/Intent/ConfirmCloseCurrentProject
ConfirmCloseCurrentProject
data class ConfirmCloseCurrentProject(val openAfter: Boolean = false, val newAfter: Boolean = false) : RootComponent.Intent
Sends user confirmation to close the current project with an optional action afterwards.
Parameters
jvm
openAfter | if set to true, after closing the "Open project" dialog will be opened |
newAfter | if set to true, after closing the "New project" dialog will be opened |
Constructors
ConfirmCloseCurrentProject | [jvm] constructor(openAfter: Boolean = false, newAfter: Boolean = false) |
Properties
Name | Summary |
---|---|
newAfter | [jvm] val newAfter: Boolean = false |
openAfter | [jvm] val openAfter: Boolean = false |