Fixed touch events on includes not being propagated due to missing viewModel

This commit is contained in:
Viktor De Pasquale 2019-04-14 12:21:23 +02:00
parent 796c16237d
commit 36e4ccd800

View File

@ -84,7 +84,8 @@
latestVersion="@{viewModel.magiskLatestVersion}"
layout="@layout/include_update_card"
state="@{viewModel.magiskState}"
text="@{viewModel.magiskStateText}" />
text="@{viewModel.magiskStateText}"
viewModel="@{viewModel}" />
<include
android:id="@+id/home_manager_version"
@ -95,6 +96,7 @@
layout="@layout/include_update_card"
state="@{viewModel.managerState}"
text="@{viewModel.managerStateText}"
viewModel="@{viewModel}"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_generic" />