From 1aa1ca7f4eabd8a728a30cb54788057def1732b6 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Fri, 8 Sep 2023 06:44:04 -0700 Subject: [PATCH] Add contentunavailable view to settings --- Meshtastic/Views/Settings/Settings.swift | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Meshtastic/Views/Settings/Settings.swift b/Meshtastic/Views/Settings/Settings.swift index 5f5d0e2b..8a84f474 100644 --- a/Meshtastic/Views/Settings/Settings.swift +++ b/Meshtastic/Views/Settings/Settings.swift @@ -289,8 +289,12 @@ struct Settings: View { MeshtasticLogo() ) } - detail: { - Text("select.menu.item") - } + detail: { + if #available (iOS 17, *) { + ContentUnavailableView("select.menu.item", systemImage: "gear") + } else { + Text("select.menu.item") + } + } } }