mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 08:40:03 +02:00
FP when playing audio
This commit is contained in:
parent
75139a8523
commit
45078b10b0
2 changed files with 5 additions and 2 deletions
|
@ -131,6 +131,7 @@ public class FragmentMedia extends Fragment {
|
|||
binding.loader.setVisibility(View.VISIBLE);
|
||||
scheduleStartPostponedTransition(binding.mediaPicture);
|
||||
if (Helper.isValidContextForGlide(requireActivity()) && isAdded()) {
|
||||
String finalType1 = type;
|
||||
Glide.with(requireActivity())
|
||||
.asDrawable()
|
||||
.dontTransform()
|
||||
|
@ -193,7 +194,7 @@ public class FragmentMedia extends Fragment {
|
|||
binding.loader.setVisibility(View.GONE);
|
||||
Glide.with(requireActivity())
|
||||
.load(attachment.remote_url).into(binding.mediaPicture);
|
||||
} else {
|
||||
} else if (finalType1.equalsIgnoreCase("image")) {
|
||||
Toasty.error(requireActivity(), getString(R.string.toast_error_media), Toasty.LENGTH_SHORT).show();
|
||||
binding.loadRemote.setVisibility(View.VISIBLE);
|
||||
binding.loadRemote.setOnClickListener(v -> {
|
||||
|
|
|
@ -8,6 +8,8 @@ Changed:
|
|||
|
||||
Fixed:
|
||||
- URL in upper cases
|
||||
- GIF does not honor nsfw
|
||||
- Issues with Peertube player
|
||||
- False positive error when listening to audio
|
||||
- GIF does not honor nsfw
|
||||
- Polls having html
|
||||
- Fix crashes when scrolling timeline with animated gif
|
Loading…
Reference in a new issue