Optimized reblogged posts
This commit is contained in:
parent
debe1156c7
commit
b726b5bb80
|
@ -5,7 +5,6 @@ import SwiftUI
|
||||||
struct CompactPostView: View {
|
struct CompactPostView: View {
|
||||||
@Environment(AccountManager.self) private var accountManager: AccountManager
|
@Environment(AccountManager.self) private var accountManager: AccountManager
|
||||||
@State var status: Status
|
@State var status: Status
|
||||||
@State var reblogStatus: Status?
|
|
||||||
@ObservedObject var navigator: Navigator
|
@ObservedObject var navigator: Navigator
|
||||||
|
|
||||||
var pinned: Bool = false
|
var pinned: Bool = false
|
||||||
|
@ -25,7 +24,7 @@ struct CompactPostView: View {
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack {
|
VStack {
|
||||||
statusPost(reblogStatus ?? status)
|
statusPost(status.reblogAsAsStatus ?? status)
|
||||||
|
|
||||||
if !quoted && !imaging {
|
if !quoted && !imaging {
|
||||||
Rectangle()
|
Rectangle()
|
||||||
|
|
Loading…
Reference in New Issue