diff --git a/app/src/main/java/app/fedilab/android/mastodon/ui/fragment/media/FragmentMedia.java b/app/src/main/java/app/fedilab/android/mastodon/ui/fragment/media/FragmentMedia.java index 64719fac..82d98132 100644 --- a/app/src/main/java/app/fedilab/android/mastodon/ui/fragment/media/FragmentMedia.java +++ b/app/src/main/java/app/fedilab/android/mastodon/ui/fragment/media/FragmentMedia.java @@ -81,6 +81,7 @@ public class FragmentMedia extends Fragment { } + @OptIn(markerClass = UnstableApi.class) @Override public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { @@ -89,6 +90,7 @@ public class FragmentMedia extends Fragment { if (bundle != null) { attachment = (Attachment) bundle.getSerializable(Helper.ARG_MEDIA_ATTACHMENT); } + binding.controls.hide(); return binding.getRoot(); }