music: add check to playlist export dialog
This commit is contained in:
parent
4e2e6f66b6
commit
3202660449
1 changed files with 7 additions and 1 deletions
|
@ -143,7 +143,13 @@ class ExportPlaylistDialog : ViewBindingMaterialDialogFragment<DialogPlaylistExp
|
||||||
} else {
|
} else {
|
||||||
R.id.export_relative_paths
|
R.id.export_relative_paths
|
||||||
})
|
})
|
||||||
logD(config.windowsPaths)
|
if (config.absolute) {
|
||||||
|
binding.exportRelativePaths.icon = null
|
||||||
|
binding.exportAbsolutePaths.setIconResource(R.drawable.ic_check_24)
|
||||||
|
} else {
|
||||||
|
binding.exportAbsolutePaths.icon = null
|
||||||
|
binding.exportRelativePaths.setIconResource(R.drawable.ic_check_24)
|
||||||
|
}
|
||||||
binding.exportWindowsPaths.isChecked = config.windowsPaths
|
binding.exportWindowsPaths.isChecked = config.windowsPaths
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue