|
@@ -12,7 +12,9 @@ struct ChatListCellView: View {
|
|
|
let jid: String
|
|
|
|
|
|
var body: some View {
|
|
|
- ZStack {
|
|
|
+ NavigationLink {
|
|
|
+ ChatView(viewModel: ChatViewModel(with: jid))
|
|
|
+ } label: {
|
|
|
HStack {
|
|
|
Image(systemName: "person.crop.circle")
|
|
|
.resizable()
|
|
@@ -23,12 +25,6 @@ struct ChatListCellView: View {
|
|
|
}
|
|
|
.foregroundColor(.primary)
|
|
|
.frame(height: 30)
|
|
|
- NavigationLink {
|
|
|
- ChatView(viewModel: ChatViewModel(with: jid))
|
|
|
- } label: {
|
|
|
- EmptyView()
|
|
|
- }
|
|
|
- .opacity(0.0)
|
|
|
}
|
|
|
}
|
|
|
}
|