improve media

This commit is contained in:
Thomas 2024-01-23 10:06:02 +01:00
parent b16ecbbe72
commit 18b3f0cb26
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class FragmentMedia extends Fragment {
} }
@OptIn(markerClass = UnstableApi.class)
@Override @Override
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
@ -89,6 +90,7 @@ public class FragmentMedia extends Fragment {
if (bundle != null) { if (bundle != null) {
attachment = (Attachment) bundle.getSerializable(Helper.ARG_MEDIA_ATTACHMENT); attachment = (Attachment) bundle.getSerializable(Helper.ARG_MEDIA_ATTACHMENT);
} }
binding.controls.hide();
return binding.getRoot(); return binding.getRoot();
} }