Some fixes
This commit is contained in:
parent
acba219e44
commit
dbd068d95f
|
@ -491,6 +491,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
if (b != null) {
|
||||
peertubeInstance = b.getString("peertube_instance", Helper.getLiveInstance(PeertubeActivity.this));
|
||||
videoUuid = b.getString("video_uuid", null);
|
||||
setRequestedOrientation(initialOrientation);
|
||||
if (comments != null && comments.size() > 0) {
|
||||
int number = comments.size();
|
||||
comments.clear();
|
||||
|
@ -569,6 +570,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
show_more_content = null;
|
||||
currentCaption = "null";
|
||||
binding.peertubeDescriptionMore.setVisibility(View.GONE);
|
||||
|
||||
if (autoFullscreen && autoPlay) {
|
||||
openFullscreenDialog();
|
||||
}
|
||||
|
@ -994,7 +996,6 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
|||
@Override
|
||||
public void onConfigurationChanged(@NotNull Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
|
||||
if (newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
||||
if (mode != Helper.VIDEO_MODE_WEBVIEW) {
|
||||
openFullscreenDialog();
|
||||
|
|
Loading…
Reference in New Issue