music: add check to playlist export dialog

This commit is contained in:
Alexander Capehart 2024-01-03 18:51:29 -07:00
parent 4e2e6f66b6
commit 3202660449
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -143,7 +143,13 @@ class ExportPlaylistDialog : ViewBindingMaterialDialogFragment<DialogPlaylistExp
} else {
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
}