Replace hardcoded white drawable with themed one

pull/3271/head
Stypox 2020-04-01 21:41:56 +02:00
rodzic 899f69d120
commit 158727e2f2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4BDF1B40A49FDD23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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) {