We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00ba655 + 0665549 commit 7ef5784Copy full SHA for 7ef5784
app/apk/src/main/res/layout/item_module_md2.xml
@@ -140,8 +140,8 @@
140
android:enabled="true"
141
android:focusable="true"
142
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}"
+ android:textColor="@{item.updateReady ? (?attr/colorPrimary) : (?attr/colorOnSurfaceVariant)}"
+ app:iconTint="@{item.updateReady ? (?attr/colorPrimary) : (?attr/colorOnSurfaceVariant)}"
145
android:onClick="@{() -> viewModel.onUpdateClicked(item)}"
146
android:text="@string/update"
147
android:textAllCaps="false"
0 commit comments