mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-29 17:55:39 +00:00
6107f8e28e
This reverts commit fc4ad32417.
33 lines
827 B
Swift
33 lines
827 B
Swift
//
|
|
// ContextInvitingContactMemberView.swift
|
|
// SimpleX (iOS)
|
|
//
|
|
// Created by spaced4ndy on 18.09.2023.
|
|
// Copyright © 2023 SimpleX Chat. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct ContextInvitingContactMemberView: View {
|
|
@EnvironmentObject var theme: AppTheme
|
|
|
|
var body: some View {
|
|
HStack {
|
|
Image(systemName: "message")
|
|
.foregroundColor(theme.colors.secondary)
|
|
Text("Send direct message to connect")
|
|
}
|
|
.padding(12)
|
|
.frame(minHeight: 50)
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
.background(theme.appColors.sentMessage)
|
|
.padding(.top, 8)
|
|
}
|
|
}
|
|
|
|
struct ContextInvitingContactMemberView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
ContextInvitingContactMemberView()
|
|
}
|
|
}
|