@@ -40,20 +40,16 @@ impl<'a> QuoteRepostView<'a> {
|
|||||||
let id = self.id();
|
let id = self.id();
|
||||||
let quoting_note_id = self.quoting_note.id();
|
let quoting_note_id = self.quoting_note.id();
|
||||||
|
|
||||||
let post_response = {
|
ui::PostView::new(
|
||||||
ui::PostView::new(
|
self.ndb,
|
||||||
self.ndb,
|
self.draft,
|
||||||
self.draft,
|
crate::draft::DraftSource::Quote(quoting_note_id),
|
||||||
crate::draft::DraftSource::Quote(quoting_note_id),
|
self.img_cache,
|
||||||
self.img_cache,
|
self.note_cache,
|
||||||
self.note_cache,
|
self.poster,
|
||||||
self.poster,
|
)
|
||||||
)
|
.id_source(id)
|
||||||
.id_source(id)
|
.ui(self.quoting_note.txn().unwrap(), ui)
|
||||||
.ui(self.quoting_note.txn().unwrap(), ui)
|
|
||||||
};
|
|
||||||
|
|
||||||
post_response
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn id_source(mut self, id: egui::Id) -> Self {
|
pub fn id_source(mut self, id: egui::Id) -> Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user