Skip to content

Commit 7ef5784

Browse files
committed
Merge branch 'master' into master
2 parents 00ba655 + 0665549 commit 7ef5784

File tree

2 files changed

+142
-140
lines changed

2 files changed

+142
-140
lines changed

app/apk/src/main/res/layout/item_module_md2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@
140140
android:enabled="true"
141141
android:focusable="true"
142142
android:alpha="@{item.updateReady ? 1.0f : 0.38f}"
143-
android:textColor="@{item.updateReady ? ?attr/colorPrimary : ?attr/colorOnSurfaceVariant}"
144-
app:iconTint="@{item.updateReady ? ?attr/colorPrimary : ?attr/colorOnSurfaceVariant}"
143+
android:textColor="@{item.updateReady ? (?attr/colorPrimary) : (?attr/colorOnSurfaceVariant)}"
144+
app:iconTint="@{item.updateReady ? (?attr/colorPrimary) : (?attr/colorOnSurfaceVariant)}"
145145
android:onClick="@{() -> viewModel.onUpdateClicked(item)}"
146146
android:text="@string/update"
147147
android:textAllCaps="false"

0 commit comments

Comments
 (0)