Skip to content

Commit

Permalink
Rename modal_sheet_dismiss_gesture_enabled to `modal_dismiss_gestur…
Browse files Browse the repository at this point in the history
…e_enabled`.
  • Loading branch information
svara committed Dec 17, 2024
1 parent 930344f commit 518a80f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import UIKit

extension UIViewController {
func configureModalBehaviour(with proposal: VisitProposal) {
isModalInPresentation = !proposal.modalSheetDismissGestureEnabled
isModalInPresentation = !proposal.modalDismissGestureEnabled
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public extension VisitProposal {
properties["pull_to_refresh_enabled"] as? Bool ?? true
}

var modalSheetDismissGestureEnabled: Bool {
if let dismissEnabled = properties["modal_sheet_dismiss_gesture_enabled"] as? Bool {
var modalDismissGestureEnabled: Bool {
if let dismissEnabled = properties["modal_dismiss_gesture_enabled"] as? Bool {
return dismissEnabled
}

Expand Down

0 comments on commit 518a80f

Please sign in to comment.