Fix hiding comment bar

pull/1047/head
Alex Baker 4 years ago
parent 1846559fd7
commit 067b8e4ad8

@ -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()

@ -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" >
<ImageView
android:id="@+id/picture"

Loading…
Cancel
Save