1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-15 13:21:22 +01:00

Replace hardcoded white drawable with themed one

This commit is contained in:
Stypox 2020-04-01 21:41:56 +02:00
parent 899f69d120
commit 158727e2f2
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23

View File

@ -1117,7 +1117,6 @@ public class VideoDetailFragment extends BaseStateFragment<StreamInfo>
animateView(videoTitleTextView, true, 0);
videoDescriptionRootLayout.setVisibility(View.GONE);
videoTitleToggleArrow.setImageResource(R.drawable.ic_expand_more_white_24dp);
videoTitleToggleArrow.setVisibility(View.GONE);
videoTitleRoot.setClickable(false);
@ -1232,8 +1231,9 @@ public class VideoDetailFragment extends BaseStateFragment<StreamInfo>
videoDescriptionView.setVisibility(View.GONE);
videoTitleRoot.setClickable(true);
videoTitleToggleArrow.setImageResource(
ThemeHelper.resolveResourceIdFromAttr(requireContext(), R.attr.ic_expand_more));
videoTitleToggleArrow.setVisibility(View.VISIBLE);
videoTitleToggleArrow.setImageResource(R.drawable.ic_expand_more_white_24dp);
videoDescriptionRootLayout.setVisibility(View.GONE);
if (info.getUploadDate() != null) {