Skip to content

Commit

Permalink
fix: Public Share action sheet offset (#1378)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann authored Jan 22, 2025
2 parents aeb1122 + 926ff5e commit 6e41a93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kDrive/UI/Controller/Create File/FloatingPanelLayouts.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class PublicShareFolderFloatingPanelLayout: FloatingPanelLayout {
}
}

/// Layout used for a file within a public share
class PublicShareFileFloatingPanelLayout: FloatingPanelLayout {
var position: FloatingPanelPosition = .bottom
var initialState: FloatingPanelState = .tip
Expand All @@ -59,7 +58,7 @@ class PublicShareFileFloatingPanelLayout: FloatingPanelLayout {
self.initialState = initialState
self.backdropAlpha = backdropAlpha
let extendedAnchor = FloatingPanelLayoutAnchor(
absoluteInset: 248.0 + safeAreaInset,
absoluteInset: 320.0 + safeAreaInset,
edge: .bottom,
referenceGuide: .superview
)
Expand Down

0 comments on commit 6e41a93

Please sign in to comment.