Skip to content

Commit b627d18

Browse files
committed
fix:removed
1 parent ab719c4 commit b627d18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

design/src/main/res/layout/design_main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
android:layout_marginVertical="@dimen/main_card_margin_vertical"
8484
android:onClick="@{() -> self.request(Request.ToggleStatus)}"
8585

86-
app:cardBackgroundColor="@{clashRunning ? self.surface.resolveColor(com.google.android.material.R.attr.colorPrimary) : self.surface.resolveColor(com.google.android.material.R.attr.colorSurfaceVariant)}"
86+
app:cardBackgroundColor="@{clashRunning ? colorClashStarted : colorClashStopped}"
8787

8888
app:icon="@{clashRunning ? @drawable/ic_outline_check_circle : @drawable/ic_outline_not_interested}"
8989
app:subtext="@{clashRunning ? @string/format_traffic_forwarded(forwarded) : @string/tap_to_start}"

0 commit comments

Comments
 (0)