From 91dfe0a4e77609c3eb68c73b9aa732975ba41fc5 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Tue, 25 Jun 2024 17:55:32 -0700 Subject: [PATCH] Move sheet outside refreshable --- Meshtastic/Views/Settings/AppLog.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Meshtastic/Views/Settings/AppLog.swift b/Meshtastic/Views/Settings/AppLog.swift index d9bc4ccb..3348a62d 100644 --- a/Meshtastic/Views/Settings/AppLog.swift +++ b/Meshtastic/Views/Settings/AppLog.swift @@ -54,9 +54,7 @@ struct AppLog: View { .width(ideal: 200, max: .infinity) } .monospaced() - .sheet(isPresented: $isEditingFilters) { - AppLogFilter(categories: $categories, levels: $levels) - } + .safeAreaInset(edge: .bottom, alignment: .trailing) { HStack { Button(action: { @@ -118,6 +116,9 @@ struct AppLog: View { } selectedLog = log } + .sheet(isPresented: $isEditingFilters) { + AppLogFilter(categories: $categories, levels: $levels) + } .sheet(item: $selectedLog, onDismiss: didDismiss) { log in LogDetail(log: log) .padding()