Skip to content

Commit c8ea841

Browse files
Update UploadBannerView.swift
1 parent a738376 commit c8ea841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iOSClient/GUI/Lucid Banner/UploadBannerView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ func showUploadBanner(scene: UIWindowScene?,
3636
LucidBannerMinimizeCoordinator.shared.register(token: token) { context in
3737
let bounds = context.bounds
3838
let controller = SceneManager.shared.getController(scene: scene)
39-
var height: CGFloat = 55
39+
var height: CGFloat = 0
4040
let over: CGFloat = 30
4141
if let scene,
4242
let controller,
4343
let window = scene.windows.first {
4444
let regularLayout = (window.rootViewController?.traitCollection.horizontalSizeClass == .regular)
4545
let iPad = UIDevice.current.userInterfaceIdiom == .pad
4646
if iPad, regularLayout {
47-
height = controller.barHeightBottom + context.safeAreaInsets.bottom + over
47+
height = over
4848
} else {
4949
height = controller.barHeightBottom + context.safeAreaInsets.bottom + over
5050
}

0 commit comments

Comments
 (0)