diff --git a/Passepartout/App/Views/OnDemandView.swift b/Passepartout/App/Views/OnDemandView.swift index 49de2442..ce8c59bd 100644 --- a/Passepartout/App/Views/OnDemandView.swift +++ b/Passepartout/App/Views/OnDemandView.swift @@ -77,12 +77,15 @@ private extension OnDemandView { ) } } footer: { - Text(policyFooterDescription) + Text(policyFooterDescription ?? "") } } // FIXME: l10n, on-demand var policyFooterDescription: String { + guard onDemand.isEnabled else { + return "" // better animation than removing footer completely + } let suffix: String switch onDemand.policy { case .any: