mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-27 15:06:12 +00:00
b8bf5871fb
* ios: wallpapers * theme selection * applied theme colors and preset wallpaper * more places with background * one more * accent color * defaults * rename * background * no change to cell color * unneeded * changes * no global tint * defaults * removed unneeded class * for merging
33 lines
815 B
Swift
33 lines
815 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(.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()
|
|
}
|
|
}
|