diff options
| author | Sajad Vishkai <sajaclvishkai@gmail.com> | 2022-09-26 11:49:36 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2022-09-26 16:31:20 +0200 |
| commit | 12fb4c188212e5d2c052cac3a8b2134393fd5dea (patch) | |
| tree | 71aaf30e6e2679e0977e44c88aada797ec8fd1b1 /ios | |
| parent | b1e2093e32cabac4306f695cb21b5ee74fc7e509 (diff) | |
| download | mullvadvpn-12fb4c188212e5d2c052cac3a8b2134393fd5dea.tar.xz mullvadvpn-12fb4c188212e5d2c052cac3a8b2134393fd5dea.zip | |
Update PreferencesViewController.swift
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/PreferencesViewController.swift | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ios/MullvadVPN/PreferencesViewController.swift b/ios/MullvadVPN/PreferencesViewController.swift index 152545b20d..4b148a5556 100644 --- a/ios/MullvadVPN/PreferencesViewController.swift +++ b/ios/MullvadVPN/PreferencesViewController.swift @@ -54,12 +54,8 @@ class PreferencesViewController: UITableViewController, PreferencesDataSourceDel navigationItem.setHidesBackButton(editing, animated: animated) - if #available(iOS 13.0, *) { - // Disable swipe to dismiss when editing - isModalInPresentation = editing - } else { - // no-op - } + // Disable swipe to dismiss when editing + isModalInPresentation = editing super.setEditing(editing, animated: animated) } |
