mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-28 11:58:23 +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) {
|
||||
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 {
|
||||
setTitle("");
|
||||
if (!useBottomAppBar) {
|
||||
setTitle("");
|
||||
}
|
||||
}
|
||||
|
||||
videoPlayerView.setControllerVisibilityListener(visibility -> {
|
||||
|
Loading…
Reference in New Issue
Block a user