mobile: fix statusbar in ios webrtc call, move PIP to top

This commit is contained in:
Evgeny Poberezkin 2022-05-20 11:12:04 +01:00
parent 3f2ca8f902
commit b3e67efba0
5 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<link href="./style.css" rel="stylesheet" />
<script src="./lz-string.min.js"></script>
</head>

View file

@ -20,8 +20,7 @@ body {
max-width: 30%;
object-fit: cover;
margin: 16px;
margin-bottom: 20%;
border-radius: 16px;
bottom: 0;
top: 0;
right: 0;
}

View file

@ -26,6 +26,7 @@ struct ActiveCallView: View {
.background(.black)
ActiveCallOverlay(call: chatModel.activeCall, dismiss: { dismiss() })
}
.preferredColorScheme(.dark)
}
private func sendCommandToWebView() {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<link href="./style.css" rel="stylesheet" />
<script src="./lz-string.min.js"></script>
</head>

View file

@ -20,8 +20,7 @@ body {
max-width: 30%;
object-fit: cover;
margin: 16px;
margin-bottom: 20%;
border-radius: 16px;
bottom: 0;
top: 0;
right: 0;
}