Comment bar hidden by default

pull/2294/head
Alex Baker 3 years ago
parent 8907d3f520
commit ad3c35bc5d

@ -264,7 +264,7 @@ class TaskEditFragment : Fragment(), Toolbar.OnMenuItemClickListener {
Divider(modifier = Modifier.fillMaxWidth()) Divider(modifier = Modifier.fillMaxWidth())
} }
} }
if (preferences.getBoolean(R.string.p_show_task_edit_comments, true)) { if (preferences.getBoolean(R.string.p_show_task_edit_comments, false)) {
Comments() Comments()
} }
} }

@ -66,7 +66,7 @@ class CommentBarFragment : Fragment() {
commentField.setHorizontallyScrolling(false) commentField.setHorizontallyScrolling(false)
commentField.maxLines = Int.MAX_VALUE commentField.maxLines = Int.MAX_VALUE
if ( if (
preferences.getBoolean(R.string.p_show_task_edit_comments, true) && preferences.getBoolean(R.string.p_show_task_edit_comments, false) &&
viewModel.isWritable viewModel.isWritable
) { ) {
commentBar.visibility = View.VISIBLE commentBar.visibility = View.VISIBLE

Loading…
Cancel
Save