Skip to content

Commit

Permalink
allow enlarging the account switcher
Browse files Browse the repository at this point in the history
no super-important, but seems to be super-simple -
i came over that at #2087
and remembered the request from
https://support.delta.chat/t/enlarge-the-account-switcher-in-dc-ios-by-swiping-it-up/2941 :)
  • Loading branch information
r10s committed Feb 29, 2024
1 parent 9a5fa99 commit 75d3d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-ios/Controller/ChatListViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ class ChatListViewController: UITableViewController {
let accountSwitchNavigationController = UINavigationController(rootViewController: viewController)
if #available(iOS 15.0, *) {
if let sheet = accountSwitchNavigationController.sheetPresentationController {
sheet.detents = [.medium()]
sheet.detents = [.medium(), .large()]
sheet.preferredCornerRadius = 20
}
} else {
Expand Down

0 comments on commit 75d3d21

Please sign in to comment.