Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-06-01 18:57:32 +0300
committerStefan Niedermann <info@niedermann.it>2020-06-01 18:57:32 +0300
commite1ba4569d002c918f88a16f35772397026a305f0 (patch)
tree21d0fff71875cfe85255cafd070ffba01a128211 /app/src/main/java/it/niedermann/owncloud/notes/model/NoteViewHolder.java
parent77d9d4ffb4db1ca55e4cb8cbdf7007899dac9e11 (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.java2
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);