mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-27 03:18:24 +01:00
Fix bottom app bar not shown in ViewRedditGalleryImageOrGifFragment.
This commit is contained in:
parent
57985ed95a
commit
a3ddcb874d
@ -228,8 +228,8 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
|
||||
if (activity.isUseBottomAppBar()) {
|
||||
bottomAppBarMenu.setVisibility(View.VISIBLE);
|
||||
}
|
||||
if (captionTextOrUrlIsNotEmpty){
|
||||
bottomAppBar.setVisibility(View.VISIBLE);
|
||||
if (captionTextOrUrlIsNotEmpty) {
|
||||
captionLayout.setVisibility(View.VISIBLE);
|
||||
}
|
||||
} else {
|
||||
hideAppBar();
|
||||
@ -317,7 +317,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
|
||||
captionUrlTextView.setHighlightColor(Color.TRANSPARENT);
|
||||
}
|
||||
} else {
|
||||
bottomAppBar.setVisibility(View.GONE);
|
||||
captionLayout.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
return rootView;
|
||||
@ -335,7 +335,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
|
||||
if (activity.isUseBottomAppBar()) {
|
||||
bottomAppBarMenu.setVisibility(View.GONE);
|
||||
}
|
||||
bottomAppBar.setVisibility(View.GONE);
|
||||
captionLayout.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
private void loadImage() {
|
||||
|
@ -45,6 +45,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:minHeight="0dp"
|
||||
app:paddingBottomSystemWindowInsets="false"
|
||||
android:backgroundTint="#80000000">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user