Files
mobile-ios/Rosetta/Features/Chats/ChatList/ChatListView.swift

22 lines
534 B
Swift

import SwiftUI
/// Legacy compatibility wrapper.
/// Active implementation is UIKit in ChatListUIKitView.
struct ChatListView: View {
@Binding var isSearchActive: Bool
@Binding var isDetailPresented: Bool
var body: some View {
ChatListUIKitView(
isSearchActive: $isSearchActive,
isDetailPresented: $isDetailPresented
)
}
}
#Preview("Chat List") {
ChatListView(isSearchActive: .constant(false), isDetailPresented: .constant(false))
.preferredColorScheme(.dark)
}