diff --git a/app/src/main/java/org/tasks/fragments/CommentBarFragment.kt b/app/src/main/java/org/tasks/fragments/CommentBarFragment.kt index 06a1fea19..065ba41fb 100644 --- a/app/src/main/java/org/tasks/fragments/CommentBarFragment.kt +++ b/app/src/main/java/org/tasks/fragments/CommentBarFragment.kt @@ -76,8 +76,8 @@ class CommentBarFragment : TaskEditControlFragment() { } commentField.setHorizontallyScrolling(false) commentField.maxLines = Int.MAX_VALUE - if (!preferences.getBoolean(R.string.p_show_task_edit_comments, true)) { - commentBar.visibility = View.GONE + if (preferences.getBoolean(R.string.p_show_task_edit_comments, true)) { + commentBar.visibility = View.VISIBLE } commentBar.setBackgroundColor(themeColor.primaryColor) resetPictureButton() diff --git a/app/src/main/res/layout/fragment_comment_bar.xml b/app/src/main/res/layout/fragment_comment_bar.xml index 1790d0517..c3b983647 100644 --- a/app/src/main/res/layout/fragment_comment_bar.xml +++ b/app/src/main/res/layout/fragment_comment_bar.xml @@ -8,7 +8,8 @@ android:paddingEnd="@dimen/keyline_first" android:gravity="center_vertical" android:minHeight="50dp" - android:orientation="horizontal"> + android:orientation="horizontal" + android:visibility="gone" >