store values set at the slideshow setup dialog

This commit is contained in:
tibbi
2017-08-04 22:53:43 +02:00
parent c06fe43a68
commit 1dec1b7457
10 changed files with 58 additions and 13 deletions

View File

@ -45,7 +45,7 @@ class ExcludeFolderDialog(val activity: SimpleActivity, val selectedPaths: List<
private fun dialogConfirmed() {
val path = if (alternativePaths.isEmpty()) selectedPaths[0] else alternativePaths[radioGroup!!.checkedRadioButtonId]
activity.config.addExcludedFolder(path)
callback.invoke()
callback()
}
private fun getAlternativePathsList(): List<String> {