Skip to content

Commit

Permalink
allow bottom row to be clicked even in the safe area
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbarela committed Feb 1, 2024
1 parent 40f7f9d commit 381f4d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Marlin/Marlin/SideMenu/SideMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ struct SideMenu: View {
self.menuClose()
}
}
.ignoresSafeArea(.all, edges: [.top, .bottom])
.accessibilityElement()
.accessibilityLabel("Backdrop \(self.isOpen ? "Open" : "Closed")")

Expand Down Expand Up @@ -70,6 +71,7 @@ struct SideMenu: View {

Spacer()
}
.ignoresSafeArea(.all, edges: [.bottom])
}
}
}
Expand Down

0 comments on commit 381f4d3

Please sign in to comment.