mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Add contentunavailable view to settings
This commit is contained in:
parent
3658aacbe1
commit
1aa1ca7f4e
1 changed files with 7 additions and 3 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue