mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-13 05:52:48 +01:00
Set title to bottom app bar in ViewVideoActivity.
This commit is contained in:
parent
5ecb2b7f14
commit
eca3d91c8b
@ -302,9 +302,15 @@ public class ViewVideoActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
|
|
||||||
if (postTitle != null) {
|
if (postTitle != null) {
|
||||||
setTitle(Html.fromHtml(String.format("<small>%s</small>", postTitle)));
|
if (useBottomAppBar) {
|
||||||
|
titleTextView.setText(Html.fromHtml(String.format("<small>%s</small>", postTitle)));
|
||||||
|
} else {
|
||||||
|
setTitle(Html.fromHtml(String.format("<small>%s</small>", postTitle)));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
setTitle("");
|
if (!useBottomAppBar) {
|
||||||
|
setTitle("");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
videoPlayerView.setControllerVisibilityListener(visibility -> {
|
videoPlayerView.setControllerVisibilityListener(visibility -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user