|
@@ -50,6 +50,13 @@ class CoverEditorDialog : DialogFragment() {
|
|
set(value) {
|
|
set(value) {
|
|
backCoverEditorView_coverEditorDialog.selectedColor = value
|
|
backCoverEditorView_coverEditorDialog.selectedColor = value
|
|
}
|
|
}
|
|
|
|
+ var category: Category
|
|
|
|
+ get() {
|
|
|
|
+ return frontCoverEditorView_coverEditorDialog.category
|
|
|
|
+ }
|
|
|
|
+ set(value) {
|
|
|
|
+ frontCoverEditorView_coverEditorDialog.category = value
|
|
|
|
+ }
|
|
|
|
|
|
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
|
|
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
|
|
return inflater.inflate(R.layout.dialog_cover_editor, container, false).apply {
|
|
return inflater.inflate(R.layout.dialog_cover_editor, container, false).apply {
|