mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Dont show crash reporting toggle on mac where it is not used (#1430)
This commit is contained in:
parent
957b95015b
commit
863fe74ae1
1 changed files with 3 additions and 1 deletions
|
|
@ -42,6 +42,8 @@ struct AppSettings: View {
|
|||
Text("PKI based node administration, requires firmware version 2.5+")
|
||||
.foregroundStyle(.secondary)
|
||||
.font(.caption)
|
||||
#if targetEnvironment(macCatalyst)
|
||||
#else
|
||||
Toggle(isOn: $usageDataAndCrashReporting) {
|
||||
Label("Usage and Crash Data", systemImage: "pencil.and.list.clipboard")
|
||||
}
|
||||
|
|
@ -49,7 +51,7 @@ struct AppSettings: View {
|
|||
Text("Provide anonymous usage statistics and crash reports.")
|
||||
.foregroundStyle(.secondary)
|
||||
.font(.caption)
|
||||
|
||||
#endif
|
||||
if showAutoConnect {
|
||||
Toggle(isOn: autoconnectBinding) {
|
||||
Label("Automatically Connect", systemImage: "app.connected.to.app.below.fill")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue