summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
diff options
context:
space:
mode:
Diffstat (limited to 'ios/MullvadVPN/Containers/Root/RootContainerViewController.swift')
-rw-r--r--ios/MullvadVPN/Containers/Root/RootContainerViewController.swift5
1 files changed, 5 insertions, 0 deletions
diff --git a/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift b/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
index 60f9faae6d..0d005d66b1 100644
--- a/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
+++ b/ios/MullvadVPN/Containers/Root/RootContainerViewController.swift
@@ -352,6 +352,11 @@ class RootContainerViewController: UIViewController {
}
}
+ func enableHeaderBarButtons(_ enabled: Bool) {
+ headerBarView.accountButton.isEnabled = enabled
+ headerBarView.settingsButton.isEnabled = enabled
+ }
+
// MARK: - Accessibility
override func accessibilityPerformMagicTap() -> Bool {