From 1c4b0c486aa7c6d6649cbea93480842cc93cc4e6 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 2 Dec 2022 20:16:52 -0600 Subject: [PATCH] Don't show limitations and solutions view on non-iCloud accounts. Fixes #3765. --- iOS/Inspector/AccountInspectorViewController.swift | 4 ++-- iOS/Inspector/Inspector.storyboard | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/iOS/Inspector/AccountInspectorViewController.swift b/iOS/Inspector/AccountInspectorViewController.swift index bcb707f4b..be8bad6b6 100644 --- a/iOS/Inspector/AccountInspectorViewController.swift +++ b/iOS/Inspector/AccountInspectorViewController.swift @@ -17,7 +17,7 @@ class AccountInspectorViewController: UITableViewController { @IBOutlet weak var nameTextField: UITextField! @IBOutlet weak var activeSwitch: UISwitch! @IBOutlet weak var deleteAccountButton: VibrantButton! - @IBOutlet weak var limitationsAndSolutionsButton: UIButton! + @IBOutlet weak var limitationsAndSolutionsView: UIView! var isModal = false weak var account: Account? @@ -39,7 +39,7 @@ class AccountInspectorViewController: UITableViewController { } if account.type != .cloudKit { - limitationsAndSolutionsButton.isHidden = true + limitationsAndSolutionsView.isHidden = true } if isModal { diff --git a/iOS/Inspector/Inspector.storyboard b/iOS/Inspector/Inspector.storyboard index 7dd8ddd8f..b9c566da5 100644 --- a/iOS/Inspector/Inspector.storyboard +++ b/iOS/Inspector/Inspector.storyboard @@ -1,9 +1,9 @@ - + - + @@ -174,7 +174,7 @@ - +