2024-01-03 09:54:05 +01:00
|
|
|
//Made by Lumaa
|
|
|
|
|
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
struct QuotePostView: View {
|
2024-02-04 10:44:51 +01:00
|
|
|
@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 {
|
2024-02-04 08:43:56 +01:00
|
|
|
CompactPostView(status: status, quoted: true)
|
2024-02-04 10:44:51 +01:00
|
|
|
.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
|
|
|
}
|