mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Move sheet outside refreshable
This commit is contained in:
parent
a18161a871
commit
91dfe0a4e7
1 changed files with 4 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue