From c81a075c0a05b1a884d6bc21c97fdc5b3af53b5e Mon Sep 17 00:00:00 2001 From: Hafizzle Date: Fri, 15 Sep 2023 12:50:20 -0400 Subject: [PATCH] button ui tidy-up --- .../android/habitica/ui/views/tasks/TaskFilterDialog.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/tasks/TaskFilterDialog.kt b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/tasks/TaskFilterDialog.kt index ee733bac41..11c5020473 100644 --- a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/tasks/TaskFilterDialog.kt +++ b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/tasks/TaskFilterDialog.kt @@ -181,9 +181,9 @@ class TaskFilterDialog(context: Context, private val repository: TagRepository, button.iconTint = ColorStateList.valueOf(context.getThemeColor(R.attr.colorAccent)) button.iconGravity = MaterialButton.ICON_GRAVITY_START button.elevation = 0f -// button.backgroundTintList = ColorStateList.valueOf(ContextCompat.getColor(context, R.color.button_background_gray_700)) - button.setStrokeColorResource(R.color.content_background) // Assuming you want a border, otherwise remove - button.strokeWidth = 0 // Adjust if you want a thicker border + button.backgroundTintList = ColorStateList.valueOf(ContextCompat.getColor(context, R.color.gray700_gray10)) + button.setStrokeColorResource(R.color.content_background) + button.strokeWidth = 0 button.setTextColor(ContextCompat.getColor(context, R.color.text_secondary)) button.setOnClickListener { createTag() }