mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-31 22:46:13 +00:00
* ios: toolbar and message entry area background color * remove VStack, opacity * ios: adjust compose view background color to match top bar (#4456) * search * replace BlurView with .thinMaterial * context item background with shadow * search * Revert "context item background with shadow" This reverts commitfc4ad32417. * rework shadow * shadow on both sides * Revert "shadow on both sides" This reverts commita07920af91. * Revert "rework shadow" This reverts commit78728263fb. * dividers * remove paddings * height * search * focus search * color * search background --------- Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
32 lines
787 B
Swift
32 lines
787 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: 54)
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
.background(.thinMaterial)
|
|
}
|
|
}
|
|
|
|
struct ContextInvitingContactMemberView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
ContextInvitingContactMemberView()
|
|
}
|
|
}
|