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:
parent
899f69d120
commit
158727e2f2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user