diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-23 17:21:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-23 17:56:37 +0200 |
commit | 05511d49007a54e47251130300b662bf411542b6 (patch) | |
tree | 08868d16310bc699105b0c2771e5872d7bf5430f /ui/src/main/res/layout | |
parent | 15da17b5952a76a52089a5d7b503e60b43a7ca50 (diff) |
ui: cleanup code after churn
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res/layout')
-rw-r--r-- | ui/src/main/res/layout/tv_tunnel_list_item.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/main/res/layout/tv_tunnel_list_item.xml b/ui/src/main/res/layout/tv_tunnel_list_item.xml index c45abd08..15615536 100644 --- a/ui/src/main/res/layout/tv_tunnel_list_item.xml +++ b/ui/src/main/res/layout/tv_tunnel_list_item.xml @@ -34,9 +34,9 @@ android:layout_margin="8dp" android:layout_marginTop="4dp" android:layout_marginBottom="0dp" + android:backgroundTint="@{(item.state == State.UP && !isDeleting) ? @color/secondary_dark_color : (isDeleting && isFocused) ? @color/tv_card_delete_background : @color/tv_card_background}" android:checkable="true" android:focusable="true" - android:backgroundTint="@{(item.state == State.UP && !isDeleting) ? @color/secondary_dark_color : (isDeleting && isFocused) ? @color/tv_card_delete_background : @color/tv_card_background}" app:contentPadding="8dp"> <androidx.constraintlayout.widget.ConstraintLayout |