Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the background color in dark mode #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Changed the background color in dark mode
  • Loading branch information
ChingHuaNing committed Aug 21, 2020

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit a892e80ab851f0a2d6dff0cc59b379f7ff979b9e
Original file line number Diff line number Diff line change
@@ -185,6 +185,8 @@ public void onClick(View v) {
mRecyclerView = (RecyclerViewEmptySupport) view.findViewById(R.id.toDoRecyclerView);
if (theme.equals(LIGHTTHEME)) {
mRecyclerView.setBackgroundColor(getResources().getColor(R.color.primary_lightest));
}else{
mRecyclerView.setBackgroundColor(getResources().getColor(R.color.mdtp_dark_gray));
}
mRecyclerView.setEmptyView(view.findViewById(R.id.toDoEmptyView));
mRecyclerView.setHasFixedSize(true);