From 99aca8e23c69ddf00cd0e0480de30f6a7d8dc3e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20F=C3=B6rster?= Date: Sun, 19 May 2024 00:46:01 +0200 Subject: [PATCH] changed description for Format reordering reordering Formats only works on iOS 16 and newer --- Shared/Settings/QualityProfileForm.swift | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Shared/Settings/QualityProfileForm.swift b/Shared/Settings/QualityProfileForm.swift index 7e5150e7..18a81a41 100644 --- a/Shared/Settings/QualityProfileForm.swift +++ b/Shared/Settings/QualityProfileForm.swift @@ -136,9 +136,20 @@ struct QualityProfileForm: View { var formatsFooter: some View { VStack(alignment: .leading) { - Text("Formats can be reordered and will be selected in this order.") - .foregroundColor(.secondary) - .fixedSize(horizontal: false, vertical: true) + if #available(iOS 16.0, *) { + Text("Formats can be reordered and will be selected in this order.") + .foregroundColor(.secondary) + .fixedSize(horizontal: false, vertical: true) + } else if #available(iOS 14.0, *) { + Text("Formats will be selected in the order they are listed.") + .foregroundColor(.secondary) + .fixedSize(horizontal: false, vertical: true) + } else { + Text("Formats will be selected in the order they are listed.") + .foregroundColor(.secondary) + .fixedSize(horizontal: false, vertical: true) + } + Text("**Note:** HLS is an adaptive format where specific resolution settings don't apply.") .foregroundColor(.secondary) .fixedSize(horizontal: false, vertical: true)