Fix comment bar background color

pull/935/head
Alex Baker 4 years ago
parent f4561121b6
commit 8c7aa041ec

@ -39,6 +39,7 @@ import org.tasks.dialogs.DialogBuilder;
import org.tasks.injection.FragmentComponent;
import org.tasks.preferences.Device;
import org.tasks.preferences.Preferences;
import org.tasks.themes.ThemeColor;
import org.tasks.ui.TaskEditControlFragment;
public class CommentBarFragment extends TaskEditControlFragment {
@ -51,6 +52,7 @@ public class CommentBarFragment extends TaskEditControlFragment {
@Inject DialogBuilder dialogBuilder;
@Inject Device device;
@Inject Preferences preferences;
@Inject ThemeColor themeColor;
@BindView(R.id.commentButton)
View commentButton;
@ -102,6 +104,8 @@ public class CommentBarFragment extends TaskEditControlFragment {
commentBar.setVisibility(View.GONE);
}
commentBar.setBackgroundColor(themeColor.getPrimaryColor());
resetPictureButton();
return view;
}

@ -8,7 +8,6 @@
android:paddingEnd="@dimen/keyline_first"
android:paddingLeft="@dimen/keyline_first"
android:paddingRight="@dimen/keyline_first"
android:background="?attr/colorPrimary"
android:gravity="center_vertical"
android:minHeight="50dp"
android:orientation="horizontal">

Loading…
Cancel
Save