diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-01 18:57:32 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-06-01 18:57:32 +0300 |
commit | e1ba4569d002c918f88a16f35772397026a305f0 (patch) | |
tree | 21d0fff71875cfe85255cafd070ffba01a128211 /app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java | |
parent | 77d9d4ffb4db1ca55e4cb8cbdf7007899dac9e11 (diff) |
Make toolbars the same background color as the main content
Diffstat (limited to 'app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java')
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java b/app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java index df55e39a..954ad8a2 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java @@ -53,7 +53,7 @@ public class NoteViewHolder extends RecyclerView.ViewHolder implements View.OnLo binding.noteCategory.setText(Html.fromHtml(note.getCategory())); DrawableCompat.setTint(binding.noteCategory.getBackground(), mainColor); - binding.noteCategory.setTextColor(Notes.isDarkThemeActive(binding.getRoot().getContext()) ? Color.WHITE : Color.BLACK); + binding.noteCategory.setTextColor(Notes.isDarkThemeActive(binding.getRoot().getContext()) ? textColor : Color.BLACK); binding.noteExcerpt.setText(Html.fromHtml(note.getExcerpt())); binding.noteStatus.setVisibility(DBStatus.VOID.equals(note.getStatus()) ? View.INVISIBLE : View.VISIBLE); |