music: add check to playlist export dialog
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user