diff --git a/apps/ios/Shared/Views/ChatList/ChatListView.swift b/apps/ios/Shared/Views/ChatList/ChatListView.swift index 507176ddae..06daf9d296 100644 --- a/apps/ios/Shared/Views/ChatList/ChatListView.swift +++ b/apps/ios/Shared/Views/ChatList/ChatListView.swift @@ -46,13 +46,6 @@ struct ChatListView: View { } } - var isUserPickerSheetPresented: Binding { - Binding( - get: { activeUserPickerSheet != nil }, - set: { if !$0 { activeUserPickerSheet = nil } } - ) - } - private var viewBody: some View { ZStack(alignment: oneHandUI ? .bottomLeading : .topLeading) { NavStackCompat( diff --git a/apps/ios/Shared/Views/Helpers/SheetWithDetents.swift b/apps/ios/Shared/Views/Helpers/SheetWithDetents.swift index e96b7d1f88..1cc0368776 100644 --- a/apps/ios/Shared/Views/Helpers/SheetWithDetents.swift +++ b/apps/ios/Shared/Views/Helpers/SheetWithDetents.swift @@ -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 { case medium case large