cleanup; comment

This commit is contained in:
Levitating Pineapple 2024-09-03 23:53:56 +03:00
parent 01fedf31fe
commit f9e5dea059
No known key found for this signature in database
GPG key ID: 6EAADA587E14B73A
2 changed files with 3 additions and 8 deletions

View file

@ -46,13 +46,6 @@ struct ChatListView: View {
} }
} }
var isUserPickerSheetPresented: Binding<Bool> {
Binding(
get: { activeUserPickerSheet != nil },
set: { if !$0 { activeUserPickerSheet = nil } }
)
}
private var viewBody: some View { private var viewBody: some View {
ZStack(alignment: oneHandUI ? .bottomLeading : .topLeading) { ZStack(alignment: oneHandUI ? .bottomLeading : .topLeading) {
NavStackCompat( NavStackCompat(

View file

@ -26,7 +26,9 @@ extension View {
} }
} }
/// iOS 15 Compatible detents /// iOS 15 Compatible detents.
/// Defines the fallback thresholds,
/// since fractional and constant height sheets are unavailable.
enum SheetDetent { enum SheetDetent {
case medium case medium
case large case large