From ae79f7da97d38859c37322c13916fd7eebc110a9 Mon Sep 17 00:00:00 2001 From: ardevd Date: Fri, 30 Jan 2026 13:07:01 +0100 Subject: [PATCH] refactor: removed redundant styling code, tweaked running record styling --- .../tagius/features/records/ui/list/RecordsAdapter.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/net/ardevd/tagius/features/records/ui/list/RecordsAdapter.kt b/app/src/main/java/net/ardevd/tagius/features/records/ui/list/RecordsAdapter.kt index e41623a..9033a60 100644 --- a/app/src/main/java/net/ardevd/tagius/features/records/ui/list/RecordsAdapter.kt +++ b/app/src/main/java/net/ardevd/tagius/features/records/ui/list/RecordsAdapter.kt @@ -108,18 +108,12 @@ class RecordsAdapter( onStopClick(record) } - // Stylistic touches - binding.cardContainer.strokeWidth = 3 - binding.cardContainer.strokeColor = binding.root.context.getColor(R.color.teal_200) - // Apply a stroke to the card to show it's active binding.cardContainer.strokeWidth = - 3 + 6 binding.cardContainer.strokeColor = binding.root.context.getColor(R.color.teal_200) - - // binding.cardContainer.setCardBackgroundColor(...) } else { // STOPPED STATE: // Calculate and show duration