Skip to content

Commit

Permalink
music: add check to playlist export dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
OxygenCobalt committed Jan 4, 2024
1 parent 4e2e6f6 commit 3202660
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 3202660

Please sign in to comment.