Skip to content

Commit ce9c4ab

Browse files
style(list): M3 list item style
Signed-off-by: Andy Scherzinger <[email protected]>
1 parent 35a1eb2 commit ce9c4ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/it/niedermann/owncloud/notes/main/items/ItemAdapter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int
141141
case TYPE_NOTE_WITH_EXCERPT, TYPE_NOTE_ONLY_TITLE, TYPE_NOTE_WITHOUT_EXCERPT -> {
142142
ItemNotesListNoteItemWithExcerptBinding binding = ItemNotesListNoteItemWithExcerptBinding.inflate(inflater, parent, false);
143143
BrandingUtil.of(color, parent.getContext()).notes.themeCard(binding.noteCard);
144+
BrandingUtil.of(color, parent.getContext()).platform.colorTextView(binding.noteTitle, ColorRole.ON_SURFACE);
145+
BrandingUtil.of(color, parent.getContext()).platform.colorTextView(binding.noteExcerpt, ColorRole.ON_SURFACE_VARIANT);
146+
BrandingUtil.of(color, parent.getContext()).platform.colorTextView(binding.noteModified, ColorRole.ON_SURFACE_VARIANT);
144147
return new NoteViewListHolder(binding, noteClickListener);
145148
}
146149
default -> {

0 commit comments

Comments
 (0)