Comment bar hidden by default

pull/2294/head
Alex Baker 1 year ago
parent 8907d3f520
commit ad3c35bc5d

@ -264,7 +264,7 @@ class TaskEditFragment : Fragment(), Toolbar.OnMenuItemClickListener {
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()
}
}

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

Loading…
Cancel
Save