fix: Many style issues

This commit is contained in:
J-Jamet committed 2023-07-19 21:42:31 +02:00
1 parent a45b5605a1
commit 02c4eba676
22 files changed
+103 -384

No files matched your search

@@ -428,16 +428,6 @@ class NodesAdapter (
if (entry.containsAttachment()) View.VISIBLE else View.GONE
// Assign colors
val backgroundColor = if (mShowEntryColors) entry.backgroundColor else null
if (!holder.container.isSelected) {
if (backgroundColor != null) {
holder.container.setBackgroundColor(backgroundColor)
} else {
holder.container.setBackgroundColor(Color.TRANSPARENT)
}
} else {
holder.container.setBackgroundColor(mColorSecondary)
}
val foregroundColor = if (mShowEntryColors) entry.foregroundColor else null
if (!holder.container.isSelected) {
if (foregroundColor != null) {