mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
improve media
This commit is contained in:
parent
b16ecbbe72
commit
18b3f0cb26
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue