mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Let Element Call manage the safe areas within the web view. (#5573)
* Let Element Call manage the safe areas within the web view. * Update Element Call to 0.19.3.
This commit is contained in:
@@ -2085,6 +2085,7 @@
|
||||
514363244AE7D68080D44C6F /* NotificationSettingsScreenViewModelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationSettingsScreenViewModelTests.swift; sourceTree = "<group>"; };
|
||||
51C2BCE0BC1FC69C1B36E688 /* BugReportScreenModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BugReportScreenModels.swift; sourceTree = "<group>"; };
|
||||
51C454AE59914B551A6D02C0 /* UserProfileProxy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserProfileProxy.swift; sourceTree = "<group>"; };
|
||||
51F14C0F5FD4A1814D5527E6 /* fa */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fa; path = fa.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
52135BD9E0E7A091688F627A /* MessageForwardingScreenModels.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageForwardingScreenModels.swift; sourceTree = "<group>"; };
|
||||
5221DFDF809142A2D6AC82B9 /* RoomScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RoomScreen.swift; sourceTree = "<group>"; };
|
||||
5281C5CDC4A712265A0B5FBF /* PollRoomTimelineItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PollRoomTimelineItem.swift; sourceTree = "<group>"; };
|
||||
@@ -9371,6 +9372,7 @@
|
||||
2525D78FEA7E7B132ED85C58 /* es */,
|
||||
2C39D91A31409775B0F4268F /* et */,
|
||||
70F8DAEF1A8131BDFD4CDE83 /* eu */,
|
||||
51F14C0F5FD4A1814D5527E6 /* fa */,
|
||||
24E637CF570711FB5FD63DEA /* fi */,
|
||||
ACD7BD6BEE21264F6677904A /* fr */,
|
||||
A2723A4AF3AB9F5E18D26E49 /* hr */,
|
||||
@@ -10159,7 +10161,7 @@
|
||||
repositoryURL = "https://github.com/element-hq/element-call-swift";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 0.19.2;
|
||||
version = 0.19.3;
|
||||
};
|
||||
};
|
||||
821C67C9A7F8CC3FD41B28B4 /* XCRemoteSwiftPackageReference "emojibase-bindings" */ = {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"originHash" : "96195bee19a32d147f55de894ed1859cd16a9c0a020eb48059a69ac3cdfffabf",
|
||||
"originHash" : "b3bb699832308ec1b125ed2052d234c3028463bc6af83daf79f432a40e3e694a",
|
||||
"pins" : [
|
||||
{
|
||||
"identity" : "compound-design-tokens",
|
||||
@@ -60,8 +60,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/element-hq/element-call-swift",
|
||||
"state" : {
|
||||
"revision" : "0410451a459a5def781f4171bc1f2318d0238de4",
|
||||
"version" : "0.19.2"
|
||||
"revision" : "efb829c8df324c8b0bfb8dc3d7c73ab0f4045caf",
|
||||
"version" : "0.19.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ struct CallScreen: View {
|
||||
CallView(url: context.viewState.url, viewModelContext: context)
|
||||
// This URL is stable, forces view reloads if this representable is ever reused for another url
|
||||
.id(context.viewState.url)
|
||||
.ignoresSafeArea(edges: .bottom)
|
||||
.ignoresSafeArea()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,6 +121,7 @@ private struct CallView: UIViewRepresentable {
|
||||
webView.uiDelegate = self
|
||||
webView.navigationDelegate = self
|
||||
webView.isInspectable = true
|
||||
webView.scrollView.contentInsetAdjustmentBehavior = .never // Let Element Call manage the safe areas within the web view.
|
||||
|
||||
webView.customUserAgent = UserAgentBuilder.makeASCIIUserAgent()
|
||||
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ packages:
|
||||
# path: ../matrix-analytics-events
|
||||
EmbeddedElementCall:
|
||||
url: https://github.com/element-hq/element-call-swift
|
||||
exactVersion: 0.19.2
|
||||
exactVersion: 0.19.3
|
||||
Emojibase:
|
||||
url: https://github.com/matrix-org/emojibase-bindings
|
||||
revision: 60bc01f2e3b31445dc723f5af1a777b63d18e6c2 # pinned due to https://github.com/matrix-org/emojibase-bindings/issues/59
|
||||
|
||||
Reference in New Issue
Block a user