Skip to content

Commit

Permalink
Use srcCompat to fix crash on opening video detail fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
ShareASmile committed Jun 16, 2024
1 parent 2c4ac3e commit 7f0b2fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@
android:background="?attr/selectableItemBackground"
android:padding="10dp"
android:scaleType="center"
android:src="@drawable/ic_list"
app:srcCompat="@drawable/ic_list"
tools:ignore="ContentDescription,RtlHardcoded" />

<ImageButton
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_video_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@
android:background="?attr/selectableItemBackground"
android:padding="10dp"
android:scaleType="center"
android:src="@drawable/ic_list"
app:srcCompat="@drawable/ic_list"
tools:ignore="ContentDescription,RtlHardcoded" />

<ImageButton
Expand Down

0 comments on commit 7f0b2fb

Please sign in to comment.