Bubble/Threaded/Components/Post/QuotePostView.swift

21 lines
540 B
Swift
Raw Normal View History

2024-01-03 09:54:05 +01:00
//Made by Lumaa
import SwiftUI
struct QuotePostView: View {
@EnvironmentObject private var navigator: Navigator
2024-01-03 09:55:18 +01:00
var status: Status
2024-01-03 09:54:05 +01:00
var body: some View {
CompactPostView(status: status, quoted: true)
.environmentObject(navigator)
2024-01-06 02:51:48 +01:00
.frame(maxWidth: 250, maxHeight: 200)
2024-01-04 23:55:00 +01:00
.padding(15)
2024-01-06 02:51:48 +01:00
.padding([.horizontal], 20)
2024-01-03 09:55:18 +01:00
.overlay(
RoundedRectangle(cornerRadius: 15)
.stroke(.gray.opacity(0.3), lineWidth: 1)
)
}
2024-01-03 09:54:05 +01:00
}